[openssl-users] Load secrets to context.

Viktor Dukhovni openssl-users at dukhovni.org
Wed Jul 27 17:56:42 UTC 2016


On Wed, Jul 27, 2016 at 10:25:42PM +0530, john gloster wrote:

> Scenario 1 - Failing case
> 
> SSL_CTX_use_certificate_file() : Loaded cert_file
> SSL_CTX_use_certificate_chain_file() : Loaded chain_file

Doing this makes no sense.  If you're loading the complete chain
file, there's no reason to first load just the certificate.

Just use SSL_CTX_use_certificate_chain_file(3), debugging incorrect
usage is not a good use of time.

-- 
	Viktor.


More information about the openssl-users mailing list