Hi Pete,

I tried to load the .p12 certs to the code directly, but it got failed at 
SSL_CTX_use_PrivateKey_file

1. err =  SSL_CTX_use_certificate_chain_file(ctx, KeyFile); 
2. SSL_CTX_set_default_passwd_cb(ctx, passwd); 
3. err = SSL_CTX_use_PrivateKey_file(ctx, KeyFile, SSL_FILETYPE_PEM); 
4. SSL_CTX_check_private_key(ctx); 

Can you please help on this ?

******************************************************
This message and any files or attachments sent with this message contain 
confidential information and is intended only for the individual named.  If you 
are not the named addressee, you should not disseminate, distribute, copy or 
use any part of this email.  If you have received this message in error, please 
delete it and all copies from your system and notify the sender immediately by 
return Email.

Email transmission cannot be guaranteed to be secure or error-free as 
information can be intercepted, corrupted, lost, destroyed, late, incomplete or 
may contain viruses.  The sender, therefore, does not accept liability for any 
errors or omissions in the contents of this message, which arise as a result of 
email transmission.
******************************************************

Reply via email to