Update the Keystore Password
Use these steps to change the default password of the Keystore for the Trusted Certificates:
1. Navigate to the <JDK_HOME>/jre/lib/security/cacerts directory.
2. Create a backup of the cacerts file.
3. Open a command prompt and run the following command:
<JDK_HOME>/jre/bin/keytool
-storepasswd -v -new new_pass
-keystore <JDK_HOME>/jre/lib/security/cacerts
Where:
◦ new_pass is your new password
◦ cacerts is the file where the keystore is stored
4. When prompted to enter the keystore password, enter the current password. The default password is changeit.
5. Press Enter. The new password is saved to cacerts.
|
Use the value of new_pass to import an untrusted certificate.
|