E-SSL: 'keytool error: java.io.IOException: keystore password was incorrect'
(Doc ID 2877854.1)
Last updated on JUNE 20, 2022
Applies to:PeopleSoft Enterprise PT PeopleTools - Version 8.59 to 8.59 [Release 8.4]
Information in this document applies to any platform.
When changing the old (initial) password which was '<OldPassword>' using the PSKeyManager tool, one obtains:
A wrapper to Sun's keytool for managing keys and certificates.
Default password is '<OldPassword>'
if you are still using the default, you will need to change the password.
Enter current keystore password [press ENTER to quit]:<OldPassword>
Warning: It looks like your keystore password is still set to the
default value. This is too obvious and should NEVER be used
in a production environment.
Please change the password.
You just entered the default password, are you sure the keystore is still using the default (yes/no/quit) [yes]? :yes
Changing the password
Enter your current keystore password [press ENTER to quit]:<OldPassword>
Enter a new keystore password [press ENTER to quit]:<NewPassword>
Reenter your new keystore password to confirm [press ENTER to quit]:<NewPassword>
keytool error: java.io.IOException: keystore password was incorrect
java.io.IOException: keystore password was incorrect
Caused by: java.security.UnrecoverableKeyException: failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
... 8 more
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document