Last active
August 29, 2015 14:07
-
-
Save bendjones/73a6ca7e889ef041475f to your computer and use it in GitHub Desktop.
Revisions
-
bendjones renamed this gist
Oct 1, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
bendjones created this gist
Oct 1, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ ###Creation of key and cert from exported p12 file ```bash $ openssl pkcs12 -clcerts -nokeys -out apns-cert.pem -in cert.p12 $ openssl pkcs12 -nocerts -out apns-key.pem -in key.p12 $ openssl rsa -in apns-key.pem -out apns-key-noenc.pem ``` ###Optional to create combined key ```bash $ cat apns-cert.pem apns-key-noenc.pem > apns.pem ```