Skip to content

Instantly share code, notes, and snippets.

@itzg
Created December 6, 2015 15:12
Show Gist options
  • Save itzg/0d354893458c3f78139e to your computer and use it in GitHub Desktop.
Save itzg/0d354893458c3f78139e to your computer and use it in GitHub Desktop.
openssl pkcs12 -export -in cert.pem -inkey privkey.pem -out keystore.p12 -name $FQDN
keytool -importkeystore -srckeystore keystore.p12 -srcstoretype PKCS12 -srcstorepass ****** -alias $FQDN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment