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

tls/sni: do not enable client verification when SNI matching is done #1172

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

maximilianfridrich
Copy link
Contributor

Currently, whenever a TLS handshake message is received and SNI certificate matching is done, TLS peer verification is also enabled. This ignores settings like verify_server and verify_client in the tls struct and is not needed. Therefore, the call to explicitly enable peer verification as part of SNI is removed.

Currently, whenever a TLS handshake message is received and SNI
certificate matching is done, TLS peer verification is also enabled.
This ignores settings like verify_server and verify_client in the tls
struct and is not needed. Therefore, the call to explicitly enable peer
verification as part of SNI is removed.
@sreimers sreimers merged commit 133266f into baresip:main Jul 31, 2024
36 checks passed
@maximilianfridrich maximilianfridrich deleted the sni_fix branch July 31, 2024 08:46
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