Last active
October 15, 2019 06:02
-
-
Save andrewwoz/892a2c50d1a22778a5f75ad2cdf59e39 to your computer and use it in GitHub Desktop.
[Export `.cer` certificate to `.p12` certificate with private key in it] Good for backup and shring with other developers #codesign
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
$ openssl x509 -in #XXXXX#.cer -inform DER -out mycert.pem -outform PEM | |
$ openssl pkcs12 -export -inkey my.key -in mycert.pem -out mycert.p12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment