On my webserver, one of the server variables contains the base64 encoded
certificate.
I would like to read this certificate in to a X509*.
What is the best way to do this?

The certificate bit stream is without the headers used in the PEM decoding
(BEGIN CERTIFICATE......) so I can not use the PEM_xxxx routines.
I know that I could probably do something like add the PEM headers to the
base64 encoded certificate and then use the PEM_xxx functions, but I'm sure
there is a better way to do this in OpenSSL.

Thanks!

> Med venlig hilsen / Best regards
> 
> Kim Hellan
> KMD
> Niels Bohrs Alle 185
> DK-5220 Odense S�
> Phone: (+45) 44 60 52 54 (direct)
> Fax (+45) 44 60 52 76
> Mailto:[EMAIL PROTECTED]
> 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to