cancel
Showing results for 
Search instead for 
Did you mean: 

ProbablyBadPasswordException with Correct Password

Highlighted
New Contributor

ProbablyBadPasswordException with Correct Password

Hi,

I can not add my keystore; following error occurs:

error: org.apache.commons.ssl.ProbablyBadPasswordException: Probably bad JKS-Key password: java.security.UnrecoverableKeyException: Cannot recover key


However my keystore's password is correct and file is not corrupted. I verified it by:

D:\cert>d:\apps\jdk6\bin\keytool -keystore "D:\cert\client1Keytore.ks" -list
Enter keystore password:

Keystore type: JKS
Keystore provider: SUN

Your keystore contains 1 entry

client1, 02.May.2012, PrivateKeyEntry,
Certificate fingerprint (MD5): B6:55:62:95:ED:78:87:D5:F3:E4:9D:B1:82:B2:F6:20


What might be the problem? I had created the keystore as seen below:

d:\apps\jdk6\bin\keytool -keystore d:\cert\client1Keytore.ks -genkey -alias client1 -keypass -pass1234


Kind regards,
Kaan Yy
2 REPLIES 2
Highlighted
New Contributor

Re: ProbablyBadPasswordException with Correct Password

Problem is solved; I am not sure which helped but what I did was:

1) Unistall 4 and install 4.5
2) Install to directory without whitespaces (instead of c:\program files\.. i used: d:\soapui)
Highlighted
New Contributor

Re: ProbablyBadPasswordException with Correct Password

I have the exact same error - ProbablyBadPasswordException , but the password is correct

 

I verified the keystore after creation (with this paassword) and I am able to see that the keystore has 1 entry.

 

Ready API version - 2.6.0

 

What changes were made, so that it got resolved?

 

Thanks!

 

 

 

 

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors