>> 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
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
On Wed, Jul 27, 2016, john gloster wrote:
> Thanks Victor.
>
> Could you explain the reason in below cases? These are in cases when we use
> both the APIs as mentioned above.
>
> cert_file : Server's certifcate
> chain_file: Complete certificate chain; starting with Server's certifcate,
>
Thanks Victor.
Could you explain the reason in below cases? These are in cases when we use
both the APIs as mentioned above.
cert_file : Server's certifcate
chain_file: Complete certificate chain; starting with Server's certifcate,
followed by intermediate CA certificate and ending with Root CA
On Wed, Jul 27, 2016 at 09:28:55PM +0530, john gloster wrote:
> Can we use both the following APIs in the same application to load
> certificate to the SSL context?
>
> *SSL_CTX_use_certificate_file()*
> *SSL_CTX_use_certificate_chain_file()*
For any given certificate chain use either one or