Fix customization of Jetty's SSL trust store

See gh-5852
This commit is contained in:
Johnny Lim 2016-05-03 22:31:13 +09:00 committed by Stephane Nicoll
parent e8e728106e
commit 727dd12852
1 changed files with 1 additions and 1 deletions

View File

@ -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);