Fix customization of Jetty's SSL trust store

See gh-5852
pull/5864/head
Johnny Lim 9 years ago committed by Stephane Nicoll
parent e8e728106e
commit 727dd12852

@ -259,7 +259,7 @@ public class JettyEmbeddedServletContainerFactory
if (getSslStoreProvider() != null) { if (getSslStoreProvider() != null) {
try { try {
factory.setKeyStore(getSslStoreProvider().getKeyStore()); factory.setKeyStore(getSslStoreProvider().getKeyStore());
factory.setTrustStore(getSslStoreProvider().getKeyStore()); factory.setTrustStore(getSslStoreProvider().getTrustStore());
} }
catch (Exception ex) { catch (Exception ex) {
throw new IllegalStateException("Unable to set SSL store", ex); throw new IllegalStateException("Unable to set SSL store", ex);

Loading…
Cancel
Save