Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@chidea
Copy link
Contributor

@chidea chidea commented Jun 28, 2018

Usages of SSL_CTX_use_certificate_file function in these examples were causing silent problems when used with fullchain PEM files of letsencrypt.
Because this function adds only the first certificate in the PEM file, root certificate is ignored and causing javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found."... error when loaded with android devices.
Even note section on openssl documentation was indicating that 'SSL_CTX_use_certificate_chain_file should be preferred'.

chidea added 3 commits June 29, 2018 03:27
To use `SSL_CTX_use_certificate_chain_file` instead of `SSL_CTX_use_certificate_file`
@kazuho kazuho merged commit 5813942 into h2o:master Jun 29, 2018
@kazuho
Copy link
Member

kazuho commented Jun 29, 2018

Thank you for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants