Skip to content

Instantly share code, notes, and snippets.

View elgunhuseynli's full-sized avatar

Elgün Hüseynli elgunhuseynli

  • Baku
View GitHub Profile
@themisir
themisir / gen-applecert.sh
Created January 26, 2020 06:43
Generates apple signing certificate using OpenSSL
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