How to load a PKCS#12 file in OpenSSL programmatically?

后端 未结 3 775
失恋的感觉
失恋的感觉 2020-11-29 10:38

In an SSL Server Application based on OpenSSL, how can we load a PKCS#12 file programmatically?

Also, can I load a PKCS#12 file having Certificate, Key & CAs in

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-29 10:42

    Be warned that the code writes the certs out as trusted certificates (encrypted). If you want unencrypted certificates, change the calls to PEM_write_X509_AUX() to PEM_write_X509().

提交回复
热议问题