Skip to content

Commit

Permalink
Added truststore to jetty.
Browse files Browse the repository at this point in the history
  • Loading branch information
meri committed Apr 10, 2011
1 parent 8773491 commit 5b524a2
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@ private static SslSocketConnector createSslConnector() {
sslConnector.setPort(sslPort);
sslConnector.setKeyPassword("secret");
sslConnector.setKeystore("src/test/resources/keystore");
sslConnector.setTrustPassword("secret");
sslConnector.setTruststore("src/main/resources/truststore");
sslConnector.setPassword("secret");
sslConnector.setWantClientAuth(true);
//sslConnector.setNeedClientAuth(true);

return sslConnector;
}

Expand Down

0 comments on commit 5b524a2

Please sign in to comment.