Fix customization of Jetty's SSL trust store
See gh-5852
This commit is contained in:
committed by
Stephane Nicoll
parent
e8e728106e
commit
727dd12852
@@ -259,7 +259,7 @@ public class JettyEmbeddedServletContainerFactory
|
||||
if (getSslStoreProvider() != null) {
|
||||
try {
|
||||
factory.setKeyStore(getSslStoreProvider().getKeyStore());
|
||||
factory.setTrustStore(getSslStoreProvider().getKeyStore());
|
||||
factory.setTrustStore(getSslStoreProvider().getTrustStore());
|
||||
}
|
||||
catch (Exception ex) {
|
||||
throw new IllegalStateException("Unable to set SSL store", ex);
|
||||
|
||||
Reference in New Issue
Block a user