2010年8月21日 星期六

IPhone push notification provider server

http://blog.boxedice.com/2009/07/10/how-to-build-an-apple-push-notification-provider-server-tutorial/

Needa follow the 10 steps to generate .pem file, instead of simply choose .pem file in export format.

Make sure you have selected My Certificates in the left pane of Keychain access, in order to export as .p12 file

Workable .pem files look like this:

Bag Attributes
friendlyName: Apple Production Push Services: A9G1EK2CDF:8Q2MGGN2Q9
localKeyID: A1 F2 01 89 13 9B Z7 E9 90 BE AF 42 94 96 08 21 38 A5 98 AE
subject=/UID=com.company.name.myid/CN=Apple Production Push Services: A9G1EK2CDF:8Q2MGGN2Q9/C=US
issuer=/C=US/O=Apple Inc./OU=Apple Worldwide Developer Relations/CN=Apple Worldwide Developer Relations Certification Authority
-----BEGIN CERTIFICATE-----
data
-----END CERTIFICATE-----
-----BEGIN RSA PRIVATE KEY-----
data

1 則留言: