On Wed, Apr 01, 2009, AnneB wrote:

> 
> I have generated programatically a certificate using _tfopen and
> PEM_write_X509 in order to support unicode for certificate file names.
> 
> How can I load a certificate in this case? SSL_CTX_use_certificate_file
> doesn't work in my case.
> 

You can read the certificate into an X509 structure using PEM_read_X509() and
then SSL_CTX_use_certificate().

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to