SNI does not work with PKIX #5204
Labels
Enhancement
High Priority
JVM Issue
Issue present in a JVM Runtime
Sponsored
This issue affects a user with a commercial support agreement
Jetty version
9.4.x
Description
When setting
SslContextFactory.Server.setKeyManagerFactoryAlgorithm("PKIX")
, and the keystore contains multiple aliases to support SNI, the wrong alias is chosen for the server certificate, causing a TLS handshake error.This is caused to https://bugs.openjdk.java.net/browse/JDK-8246262.
There are reports that not only the OpenJDK implementation "leaks" internal mangled aliases, but also the BouncyCastle implementation, which mangles the aliases in a different way than OpenJDK.
There is a need to workaround this issue to be able to use the PKIX algorithm.
The text was updated successfully, but these errors were encountered: