Skip to content

Commit

Permalink
Don't set the key store password when using the Windows certificate s…
Browse files Browse the repository at this point in the history
…tore
  • Loading branch information
bwmeier committed Mar 25, 2014
1 parent e7eeb37 commit a962a3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,6 @@ protected void logSupportedParameters() {

protected SslContextFactory buildSslContextFactory() {
final SslContextFactory factory = new SslContextFactory(keyStorePath);
factory.setKeyStorePassword(keyStorePassword);
final String keyStoreType = getKeyStoreType();
if (keyStoreType.startsWith("Windows-")) {
try {
Expand All @@ -544,6 +543,7 @@ protected SslContextFactory buildSslContextFactory() {
}
} else {
factory.setKeyStoreType(keyStoreType);
factory.setKeyStorePassword(keyStorePassword);
}

if (keyStoreProvider != null) {
Expand Down

0 comments on commit a962a3e

Please sign in to comment.