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. SS
On 05/18/2012 06:03 AM, kthiru...@inautix.co.in wrote:
Team,
Had a query in the certs that we load,
The CA's provide our certs in .p12 format, which we need to convert to a .pem and load to SSL
structure during initialization.
On converting to .pem, it is in the following format, "Private Key
Team,
Had a query in the certs that we load,
The CA's provide our certs in .p12 format, which we need to convert to a
.pem and load to SSL structure during initialization.
On converting to .pem, it is in the following format, "Private Key, CA
Certs and Domain Certificate".
In our code, we use