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 #6099 - Cipher preference may break SNI if certificates have di… #6246

Merged
merged 1 commit into from
May 10, 2021

Conversation

sbordet
Copy link
Contributor

@sbordet sbordet commented May 10, 2021

…fferent key types.

Updated the logic in SslContextFactory.Server.sniSelect(...) to check if there is
any certificate that matches, and if so return a null alias in the hope to be called
again and pick the right alias for the SNI.

Signed-off-by: Simone Bordet [email protected]
(cherry picked from commit 6829691)

…fferent key types.

Updated the logic in SslContextFactory.Server.sniSelect(...) to check if there is
any certificate that matches, and if so return a null alias in the hope to be called
again and pick the right alias for the SNI.

Signed-off-by: Simone Bordet <[email protected]>
(cherry picked from commit 6829691)
@sbordet sbordet requested a review from gregw May 10, 2021 08:52
@sbordet
Copy link
Contributor Author

sbordet commented May 10, 2021

Forward port of #6243

@sbordet sbordet merged commit b5b3874 into jetty-10.0.x May 10, 2021
@sbordet sbordet deleted the jetty-10.0.x-6099-sni-with-different-keyTypes branch May 10, 2021 10:26
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.

Cipher preference may break SNI if certificates have different key types
2 participants