Created
May 1, 2014 11:30
-
-
Save tominsam/9b188e42a706df998f5d to your computer and use it in GitHub Desktop.
local instructions for building push certificates
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
Generating push certificates: | |
Go to iOS developer portal, go to "App IDs", open the production app ID and open | |
settings. Click "create certificate" and follow instructions to get | |
aps_production.cer and aps_development.cer. Make sure you use distinctive names | |
with date in the CSR so you can find the things later. | |
Import generated .cer files into keychain. | |
In keychain, select "my certificates" on the left, and expand the "apple | |
{development,production} IOS Push services" row that corresponds to the cert you | |
just made. Select the push services row *and* the row's child together, and | |
file->export them both as a single .p12 file. | |
run | |
openssl pkcs12 -in Certificates.p12 -out production_push_notifications_cert.pem | |
-nodes -clcerts | |
Done! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment