On Thu, Apr 10, 2008 at 10:46:45PM +0200, [EMAIL PROTECTED] wrote:

> > I have converted that key to pem format with openssl commandline tool 
> and
> > loaded with 
> > SSL_CTX_use_certificate_ASN1(ctx, len, (unsigned char*)in_buf)
> > It worked. 
> > 
> > Does anybody have any ideas what is wrong with 
> SSL_CTX_use_PrivateKey_ASN1 ?
> Try EVP_PKEY_RSA for RSA key instead of SSL_FILETYPE_ASN1.

Is the OP's file a private key or an X.509 certificate?

-- 
        Viktor.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to