Created
January 26, 2020 06:43
-
-
Save themisir/556a2c80d46ed924accebdd65feff66f to your computer and use it in GitHub Desktop.
Generates apple signing certificate using OpenSSL
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
| openssl genrsa -out app.key 2048 | |
| openssl req -new -key app.key -out aps.csr | |
| echo Go to https://developer.apple.com/account/resources/certificates/list and generate certificate | |
| echo Download distribution.cer and copy it to working directory. | |
| pause | |
| openssl x509 -in distribution.cer -inform DER -out aps.pem -outform PEM | |
| openssl pkcs12 -export -out distribution.p12 -inkey app.key -in aps.pem | |
| rm aps.pem | |
| echo Done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment