Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Return original error when retrying TLS connection with system wide CA set #7414
Conversation
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jujubot
merged commit fb58ae0
into
juju:develop
May 30, 2017
1 check passed
github-check-merge-juju
Built PR, ran unit tests, and tested LXD deploy. Use !!.*!! to request another build. IE, !!build!!, !!retry!!
Details
wupeka
referenced this pull request
May 30, 2017
Merged
Better log message in case of TLS error #7416
added a commit
that referenced
this pull request
May 30, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wupeka commentedMay 29, 2017
Description of change
There is a fallback to system CA set if root CA is set and server cert fails verification. If it fails we should return original error as it's more specific. This is especially important on Windows as with current code a certificate that's expired but is correctly signed by custom CA will fail as unsigned (by system CA) instead of expired.
QA steps
Check TestUpdateCert unit test on Windows.