These will be added to over time.
ListList the contents of a jks file
keytool -list -keystore <keystore.jks> -storepass <password>
Remote KeysPrint a certificate for a remote server
keytool -printcert -rfc -sslserver my.company.com
Copy the output into a file .pem
Import KeyImport a key to a key store. In this case it is imported into the java default Certificate Authority file (cacerts). This will prompt for a password for the cacerts file which is 'changeit' by default.
keytool -importcert -file ./certificate.pem -keystore $JRE_LIB/lib/security/cacerts