Skip to content

Commit

Permalink
Jetty
Browse files Browse the repository at this point in the history
  • Loading branch information
vharseko committed Mar 21, 2024
1 parent f147549 commit 52268da
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ private SslContextFactory createSsllContextFactory(boolean clientContext) {
String truststoreFile = null;
truststoreFile = truststoreURL.getFile();//URLDecoder.decode(truststoreURL.getFile(), "UTF-8");

sslContextFactory.setTrustStorePath(truststoreFile);
sslContextFactory.setTrustStorePath("file://"+truststoreFile);
sslContextFactory.setTrustStorePassword(JSK_PASSWORD);

sslContextFactory.setKeyStorePath(serverKeystoreFile);
sslContextFactory.setKeyStorePath("file://"+serverKeystoreFile);
sslContextFactory.setKeyStorePassword(JSK_PASSWORD);

sslContextFactory.setIncludeProtocols("TLSv1.2", "TLSv1.1", "TLSv1");
Expand Down

0 comments on commit 52268da

Please sign in to comment.