Skip to content

added option to disable server hostname verification while keeping certificate validation - #98

Merged
ptrd merged 1 commit into
ptrd:masterfrom
harrharr:no-hostname-verification
Oct 18, 2026
Merged

ptrd merged 1 commit into
ptrd:masterfrom
harrharr:no-hostname-verification

Conversation

@harrharr

Copy link
Copy Markdown
Contributor

Adds QuicClientConnection.Builder.noServerHostnameVerification() and the CLI option --noHostnameVerification. The server certificate is still validated against the (default or custom) trust store, only the check that the certificate matches the host name is skipped. Useful when the server is reached via an address that does not match its certificate, e.g. servers without a DNS name or in NATed networks (SD-WAN). See #47.

…rtificate validation

Adds QuicClientConnection.Builder.noServerHostnameVerification() and the CLI option
--noHostnameVerification. The server certificate is still validated against the (default
or custom) trust store, only the check that the certificate matches the host name is skipped.
Useful when the server is reached via an address that does not match its certificate, e.g.
servers without a DNS name or in NATed networks (SD-WAN). See ptrd#47.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ptrd

ptrd commented Oct 18, 2026

Copy link
Copy Markdown
Owner

Perfect PR. Thanks!

@ptrd
ptrd merged commit 101c733 into ptrd:master Oct 18, 2026
1 check passed
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