Java Truststore and Keystore
Import The Key-pair Into Java Keystore
Convert the key-pair into PKCS12 keystore.
-passout
:env:<VAR_NAME>
/file:<PATH>
/fd:<NUM>
/stdin
Import the PKCS12 keystore into the Java keystore.
Reference: https://www.ssl.com/how-to/create-a-pfx-p12-certificate-file-using-openssl/
Check-out here for the list of the most common Java keytool commands.
Last updated