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

Fixes #6276 - Support non-standard domains in SNI and X509. #6296

Merged
merged 4 commits into from
May 21, 2021

Conversation

sbordet
Copy link
Contributor

@sbordet sbordet commented May 18, 2021

Backported support for IP addresses in X509 (from #5379).
Introduced SslContextFactory.Client.SniProvider to allow applications to specify the SNI names to send to the server.
Improved logging of SNI processing.

Signed-off-by: Simone Bordet [email protected]

Backported support for IP addresses in X509 (from #5379).
Introduced SslContextFactory.Client.SniProvider to allow applications to specify the SNI names to send to the server.
Improved logging of SNI processing.

Signed-off-by: Simone Bordet <[email protected]>
@sbordet sbordet requested a review from gregw May 18, 2021 13:28
@sbordet sbordet linked an issue May 18, 2021 that may be closed by this pull request
Fixed test failures on CI due to lack of IPv6 support.

Signed-off-by: Simone Bordet <[email protected]>
Fixed the non-domain SNI provider to send the server host,
not the local host (doh!).
Skip X509 matching over IP addresses when the host does
not look like an IP address, to avoid reverse DNS lookup.

Signed-off-by: Simone Bordet <[email protected]>
Fixed checkstyle issue.

Signed-off-by: Simone Bordet <[email protected]>
@sbordet sbordet merged commit 04df6d4 into jetty-9.4.x May 21, 2021
@sbordet sbordet deleted the jetty-9.4.x-6276-support-non-standard-domains branch May 21, 2021 17:02
sbordet added a commit that referenced this pull request May 21, 2021
Improved support for IP addresses in X509 (after #5379).
Introduced SslContextFactory.Client.SniProvider to allow applications to specify the SNI names to send to the server.
Improved logging of SNI processing.
Skip X509 matching over IP addresses when the host does
not look like an IP address, to avoid reverse DNS lookup.

Signed-off-by: Simone Bordet <[email protected]>
(cherry picked from commit 04df6d4)
sbordet added a commit that referenced this pull request May 24, 2021
…6311)

* Fixes #6276 - Support non-standard domains in SNI and X509. (#6296)

Improved support for IP addresses in X509 (after #5379).
Introduced SslContextFactory.Client.SniProvider to allow applications to specify the SNI names to send to the server.
Improved logging of SNI processing.
Skip X509 matching over IP addresses when the host does
not look like an IP address, to avoid reverse DNS lookup.

Signed-off-by: Simone Bordet <[email protected]>
(cherry picked from commit 04df6d4)
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.

Support non-standard domains in SNI and X509
2 participants