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

Add tests for SNI and peer name checks #13486

Closed
wants to merge 1 commit into from

Conversation

icing
Copy link
Contributor

@icing icing commented Apr 26, 2024

  • connect to DNS names with trailing dot
  • connect to DNS names with double trailing dot
  • rustls, always give peer->hostname and let it figure out SNI itself
  • add SNI tests for ip address and localhost
  • document in code and TODO that QUIC with ngtcp2+wolfssl does not do proper peer verification of the certificate
  • mbedtls, skip tests with ip address verification as not supported by the library

- connect to DNS names with trailing dot
- connect to DNS names with double trailing dot
- rustls, always give `peer->hostname` and let it
  figure out SNI itself
- add SNI tests for ip address and localhost
- document in code and TODO that QUIC with ngtcp2+wolfssl
  does not do proper peer verification of the certificate
- mbedtls, skip tests with ip address verification as not
  supported by the library
@github-actions github-actions bot added the tests label Apr 26, 2024
@bagder bagder closed this in b06619d Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

2 participants