Skip to content

Instantly share code, notes, and snippets.

View vaghul's full-sized avatar

Vaghula krishnan vaghul

View GitHub Profile
@vaghul
vaghul / gist:5add9c9409ead29a30834061beca4b89
Created December 17, 2019 16:07
APNS Pem file creation
Development Phase:
Step 1: Create Certificate .pem from Certificate .p12
Command: openssl pkcs12 -clcerts -nokeys -out apns-dev-cert.pem -in apns-dev-cert.p12
Step 2: Create Key .pem from Key .p12
Command : openssl pkcs12 -nocerts -out apns-dev-key.pem -in apns-dev-cert.p12
Step 3: Optional (If you want to remove pass phrase asked in second step)
Command : openssl rsa -in apns-dev-key.pem -out apns-dev-key-noenc.pem