Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use root level certificate verification callback in OpenSSL #1818

Merged
merged 2 commits into from
Jul 14, 2021

Conversation

ThadHouse
Copy link
Contributor

We were previously using a callback that would be called after openssl did all of its verification internally. This resulted in multiple callbacks. Instead, we can just completely replace OpenSSL's verification. We then can decide to call openssl's verification directly or windows cert store verification depending on OS and sec config flags. This will always result in just a single callback to the app layer, but otherwise results in no actual behavior changes.

Closes #1810

We were previously using a callback that would be called after openssl did all of its verification internally. This resulted in multiple callbacks. Instead, we can just completely replace OpenSSL's verification. We then can decide to call openssl's verification directly or windows cert store verification depending on OS and sec config flags. This will always result in just a single callback to the app layer, but otherwise results in no actual behavior changes.
@ThadHouse ThadHouse requested a review from a team as a code owner July 14, 2021 16:39
@ThadHouse ThadHouse merged commit 300df89 into main Jul 14, 2021
@ThadHouse ThadHouse deleted the thadhouse/opensslverificationfix branch July 14, 2021 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PEER_CERTIFICATE_RECEIVED emitted multiple times on Linux client
4 participants