Java/keytool

View certificates keytool -list -keystore keytool -list -v -keystore

To change the keystore password, you use a command like the following: keytool -storepasswd -keystore  -new 

To change the alias password, you can use a command like the following: keytool -keypasswd -alias tomcat -keystore  -keypass  -new 

To import signed certificates keytool -import -keystore -alias -file cert.crt -trustcacerts

To change/rename an alias: keytool -keyclone -keystore  -alias  -dest  keytool -delete -keystore  -alias 
 * 1) First we will clone the key and certificate:
 * 1) Then we will delete the old key and certificate: