i am working with push notification currently. i have created CSR, Distribution certificate, mobile provision successfully and added them. My sanbox push is working but production (gateway.push.apple.com) is not working.
See the Dev portal App ID settings:
And the keychain is like(Dev and distribution's private key is ok):
And in code sign identity is- iOS developer and the provision is automatic.
Settings looks like:
What could be the problem ? Thanks in advance.
Update:
May be problem is with my pem. From this site: http://apns-gcm.bryantan.info/, i test the push. i'm getting the sanbox but still not getting the production push.
It shows : Unable to connect to 'ssl://gateway.push.apple.com:2195': (0)