Hi,

Thanks for the soultion y'day. Now I am facing this new problme. 

How can we use the PKCS12 format certificate file when calling the functions

1) SSL_CTX_use_certificate_file(ctx, options.certfile, SSL_FILETYPE_PEM)
2) SSL_CTX_use_PrivateKey_file(ctx, options.certfile, SSL_FILETYPE_PEM)

I converted PKCS12 format to PEM format using 
openssl pkcs12 -in file.p12 -out file.pem

and used this file.pem in SSL_CTX_use_PrivateKey_file but it gives the error
as
SSL_CTX_use_RSAPrivateKey_file: error:0B080074:x509 certificate
routines:X509_check_private_key:key values mismatch

can anyone suggest me.

Thanks in Advance & Regards,
Ravi Srinvas M          
E-mail       : [EMAIL PROTECTED]
Voice mail : +81 3 5404 9592
Fax         : +81-3-5473-4441

CREDIT | FIRST  
SUISSE | BOSTON
Credit Suisse First Boston (Japan) Limited
5th Floor Shiroyama Hills,  
4-3-1 Toranomon,
Minato-ku, Tokyo 105-6002 JAPAN



This message is for the named person's use only.  It may contain 
confidential, proprietary or legally privileged information.  No 
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender.  You must not, directly or indirectly, use, disclose, distribute, 
print, or copy any part of this message if you are not the intended 
recipient. CREDIT SUISSE GROUP and each of its subsidiaries each reserve
the right to monitor all e-mail communications through its networks.  Any
views expressed in this message are those of the individual sender, except
where the message states otherwise and the sender is authorised to state 
them to be the views of any such entity.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to