Java Keytool Keystore Password Reset
Posted on 2010-11-10
Hi, I'm trying to generate a self-signing key using Java Keytool but I'm getting following error:
C:\Users\spark>keytool -genkey -keyalg rsa -alias tstkey
Enter keystore password: abc123
keytool error: java.io.IOException: Keystore was tampered with, or password was
I previously created a keystore password, but I can't remember what it was. I deleted my JRE and JDK and reinstalled but I had no luck. Is there a way to reset the password? Where is the keystore file located?