keytool -keypasswd

Description

Change the key password of an entry in a keystore.

Command
keytool -keypasswd
Examples
Change key password
keytool -keypasswd -alias mykey -keystore keystore.jks
Parameters
Parameter Type Required Description
-alias string No Alias name for the entry
-keystore string No Keystore location
-storepass string No Keystore password
-new string No New key password
Command Info
Category: Password Management
Type: Java-Keytool
Views: 12
Status: Active
Tags
password key change