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 a858f21 commit f147549
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,7 @@ private SslContextFactory createSsllContextFactory(boolean clientContext) {
"truststore.jks");
Assert.assertNotNull(truststoreURL);
String truststoreFile = null;
try {
truststoreFile = URLDecoder.decode(truststoreURL.getFile(), "UTF-8");
} catch (UnsupportedEncodingException e) {
e.printStackTrace();
}
truststoreFile = truststoreURL.getFile();//URLDecoder.decode(truststoreURL.getFile(), "UTF-8");

sslContextFactory.setTrustStorePath(truststoreFile);
sslContextFactory.setTrustStorePassword(JSK_PASSWORD);
Expand Down

0 comments on commit f147549

Please sign in to comment.