My Oracle Support Banner

E-SSL: 'keytool error: keystore password was incorrect' (Doc ID 2877854.1)

Last updated on NOVEMBER 21, 2023

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:

PeopleSoft PSKeyManager:
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: keystore password was incorrect keystore password was incorrect
at java.base/
at java.base/
at java.base/
at java.base/
at java.base/
at java.base/
at java.base/
at java.base/
Caused by: 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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.