question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Keystore password is never set, configured password is used as Keymanager password only

See original GitHub issue

The current configuration seems to use the password provided to wiremock by the .keyStorePassword() builder method as a password for the keymanager (protection of the individual entries), but does not provide a way to specify a password for the store itself.

See:

https://github.com/tomakehurst/wiremock/blob/adf81e2caa681d4d10e2d193ed56f7e5b46c2a30/src/main/java/com/github/tomakehurst/wiremock/jetty9/JettyHttpServer.java#L205-L211

In particular, sslContextFactory.setKeyStorePassword() is never called.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:11

github_iconTop GitHub Comments

3reactions
Jacuocommented, Apr 16, 2020

Any news about issue ? I have spent a lot of time investigating problem caused by this issue …

0reactions
mdaleycommented, Apr 17, 2020

Hi jacuo, I never got round to doing anything about this and it’s such a long time ago that I can’t remember anything about how I was going to solve it 😦. I think that I just used the workaround that was mentioned in #874.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Keystore password is never set, configured password is used ...
The current configuration seems to use the password provided to wiremock by the .keyStorePassword() builder method as a password for the ...
Read more >
Jetty SSL Passwords - java - Stack Overflow
There will not always be a KeyManagerPassword - it is only used if there is one specified in the key store. In most...
Read more >
Wildfly will fail when java keystore storepassw... - JBoss.org
Hi! I have issue with Wildfly 10.1.0-Final and JAVA keystore key password/storapassword which contains special characters (chars like: .
Read more >
OnCommand API Services use ca-issued certificate with non ...
I'm trying to use a ca-issued certificate instead of a self-signed certificate. If I use a Java Keystore File (JKS) with the default...
Read more >
"The private key password is not correct or the keystore ... - IBM
"The private key password is not correct or the keystore has multiple private keys with different passwords. This keystore can not be used...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found