Reputation:
I need to install the certificate I've downloaded from apple dev portal in order to test the push notification on my Windows server. I searched online a solution but everyone says different things about it, Does anyone has a step by step guide on how to do this?
Upvotes: 5
Views: 7154
Reputation: 417
I have also been researching this subject. The following links may be useful to you:
http://loudsoftware.com/?p=186
I finally got this working by following these key points that I managed to get out of those links above. It assumes that you have already created the Apple Push certificates and private keys following "standard apple push" instructions.
On your Mac machine, generate your certificates as follows (credit to arashnorouzi):
Create a PKCS12 format file using open ssl, you will need your developer private key (which can be exported from the keychain) and the CertificateSigningRequest??.certSigningRequest
openssl x509 -in apn_developer_identity.cer -inform DER -out apn_developer_identity.pem -outform PEM}
openssl pkcs12 -nocerts -out private_dev_key.pem -in private_dev_key.p12
openssl rsa -out private_key_noenc.pem -in private_key.pem
openssl pkcs12 -export -in apn_developer_identity.pem -inkey private_key_noenc.pem -certfile CertificateSigningRequest??.certSigningRequest -name “apn_developer_identity” -out apn_developer_identity.p12
Now, on your Windows Server do the following (credit to bill at loudsoftware):
In detail:
Upvotes: 8