I have reviewed this with jzhong ( original answer ) to provide a more detailed response. For the point 1 in Note section: "1. I attach the new Apple Push Notification certificate." you need to contat
[email protected]
Overview
Mobile access server talks to Apple's push notification gateway via a binary interface using SSL. The SSL certificate required for these connections is obtained from Member Center. To make the push notification work for a re-signed iOS app, mobile access server needs to use a different SSL certificate provided by customer.
Steps
1) Obtain a .p12 SSL certificate and a passphrase for communication with Apple's push notification gateway. Typically, this is a certificate used to talk to the production push notification gateway of Apple. You can find more details here:
https://developer.apple.com/library/ios/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/Chapters/ProvisioningDevelopment.html#//apple_ref/doc/uid/TP40008194-CH104-SW1
I also found the descrption on this page quite extensive:
http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1
2) Copy the .p12 certificate above to a certain location in your mobile access server, which the mobile access server has the permission to access.
3) In the MOBILE_ACCESS_SERVER_HOME/server/config/config_local.json file, create/modify the following JSON properties:
{
...
"ios": {
"apn": {
"${apn_env}": {
"push_cert": "${/path/to/your/apn/ssl/certificate.p12}",
"push_passphrase": "${your_apn_passphrase}"
}
}
}
...
}
Here are three variables:
3.1) apn_env: It could be either "production" or "sandbox" depending on which push notification gateway you need to connect to. Typically it is "production".
3.2) "push_cert" value: it should be a path to your APN SSL certificate p12 file in step 2.
3.3) "push_passphrase" value: it should be the passphrase for the p12 certificate.
4) Once the change is done, restart your server.
Notes
I attach the new Apple Push Notification certificate.
The v1 customer doesn’t need to update the /server/config/config_local.json. They can stop the mobile access server, then replace this p12 file, start the server again. It should work.
... View more