Useful Keystore/Truststore related commands

Note: Any changes to their keystore/truststore require BVR, BRM and/or BAM to be restarted to take effect
The following commands assume that you are in the relevant BVR, BRM and/or BAM keystore or truststore directory.
To view a detailed list of certificates in your keystore/truststore:
keytool -list -v -keystore keystore.jks
keytool -list -v -keystore truststore.jks
To view details about a specific entry in your keystore/truststore (this is particularly useful for the truststore which may contain a lot of certificates):
keytool -list -v -keystore keystore.jks -alias blueworx
keytool -list -v -keystore truststore.jks -alias ALIAS_OF_CERTIFICATE
To delete an entry from your keystore/truststore:
keytool -delete -keystore keystore.jks -alias blueworx
keytool -delete -keystore truststore.jks -alias ALIAS_OF_CERTIFICATE
To change the password of your keystore/truststore:
keytool -storepasswd -keystore keystore.jks
keytool -storepasswd -keystore truststore.jks
Note: This operation does not change the password of the keystore key

For further information on the keytool command, please refer to the Oracle keytool documentation. https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html