Created
May 19, 2021 09:02
create Java PKCS#12 keystore
This file contains 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
#!/bin/bash | |
# place server key in server.key | |
# place server certificate in server.crt | |
# place intermediate certificate in intermediate.crt | |
cat server.crt intermediate.crt > certificate.chain.crt | |
openssl pkcs12 -export -inkey server.key -in certificate.chain.crt -name my-server -out server.p12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment