Hi,

int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509
**cert, STACK_OF(X509) **ca);

If PKCS12_parse() is successful, the private key will be written to
*pkey, the corresponding certificate to *cert and any additional
certificates to *ca.

1. What is the use of additional certificates? 
2. Whether they should be used as root CA certificates for that domain?
If yes, then whether we should add them using
SSL_CTX_load_verify_locations() OR SSL_CTX_set_cert_store().
3. Whether they have any relationship with retrieved private key?

Best Regards,
Manish Jain
GlobalLogic Inc.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to