Skip to content

Instantly share code, notes, and snippets.

@skunkworker
Created October 23, 2014 23:24
Show Gist options
  • Save skunkworker/93335dbd83d6d22f438e to your computer and use it in GitHub Desktop.
Save skunkworker/93335dbd83d6d22f438e to your computer and use it in GitHub Desktop.
bundle crt with private key to make a pkcs12 bundle
Make sure that you use the crt file given by your SSL provider. As exporting the certs through openssl can change the type from sha256 to the less secure sha1 and this should be avoided.
$ openssl pkcs12 -export -in NEW_CERT.crt -inkey PRIVATE.key -out NEW_KEYSTORE.p12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment