Posts: 17
Registered: ‎09-19-2017

Keystore was tampered with, or password was incorrect when trying to configure TLS

Dear all,


I am configuring TLS on my cluster for kerberos configuration later, however when I first generate the keystore using keytool -genkeypair I had typo on -storepass and keypass, I hit with the keystore was tampered with error when I tried to run keytool -certreg command to generate .csr file, I have removed the keystore.jks file and recreate a new one using correct storepass and keypass, but I still get this keystore was tampered with, or password was incorrect error, when I try  keytool -list -keystore, after key in the password it will show the information of the keystore. Anyone has experience on this?