Created
October 18, 2024 09:30
-
-
Save jeansymolanza/d6a4ddb21f45cbf3d4ec17fff6e53bfc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keytool -importkeystore -srckeystore your_keystore.jks -destkeystore keystore.p12 -srcstoretype JKS -deststoretype PKCS12 -srcalias your_alias -deststorepass your_password -srcstorepass your_password | |
openssl pkcs12 -in keystore.p12 -nocerts -nodes -out private_key.pem | |
openssl pkcs12 -in keystore.p12 -clcerts -nokeys -out certificate.pem | |
cat private_key.pem certificate.pem > combined.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment