Dear list,

as I am new to this list, I don't know but hope questions regarding mod_ssl are 
welcome?

I am currently working on - dirty, please have mercy - customizations of 
mod_ssl and especially OCSP-handling for a specific project (on basis of Apache 
2.3 code). As I am neither a seasoned C-coder nor familiar with OpenSSL 
libraries, I am having problems extracting the issuer name from an X.509 cert 
into a usable string format.

What I need to do:


·         Write my own "static const char *extract_responder_uri()"

·         Don't read responder uri from certificate, but from a file

·         (Responder uri is connected with the issuer of the certificate in 
some other place - extracted and saved to file by other means...)

·         File's name is equal to the issuer's DN - to my mind the most direct 
way to look it up

·         So, I have to get the issuer name from the cert and build a filename 
to fopen(). That's the point where I am stuck because of type problems (how to 
get a char* or some string from an X509_NAME?)...

If this inquiry is off-topic, please give me a hint to where I could ask for 
help, or drop me a line, if more detail is required.

Any help is highly appreciated, thanks in advance!

Mit freundlichen Grüßen / Kind regards
 Natanael Mignon

IT-Dienstleistungen: beraten | planen | umsetzen | betreiben
__________________________________________________________________________
michael-wessel.de  Informationstechnologie GmbH
Krausenstraße 50
30171 Hannover
Germany
fon          (+49) 511 260 911-0 (DW: - 13)
fax          (+49) 511 318 039-9
eMail      n...@michael-wessel.de<mailto:n...@michael-wessel.de>
web        www.michael-wessel.de<http://www.michael-wessel.de/>
Bitte senden Sie wichtige E-Mails stets auch an 
serv...@michael-wessel.de<mailto:serv...@michael-wessel.de>, um 
sicherzustellen, dass diese zeitnah bearbeitet werden.

Geschäftsführer: Michael Wessel Dipl. Phys.
Amtsgericht Hannover
HR B 59031

Reply via email to