Verify return code: 20 (unable to get local issuer certificate)
certificate, ios, ssl
Solution
The problem is you are using the "sandbox" APNS server which is used for development.
In order to test the production certificates you have to connect to the production APNS server. You can use the address:
`gateway.push.apple.com:2195` instead of `gateway.sandbox.push.apple.com:2195`
Problem
I have a problem similar to this: Apple Push Notification in Production Environment : Unable to get local issuer certificate but in my local computer. I followed this tutorial: http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12 but in this step ``` openssl s_client -connect gateway.sandbox.push.apple.com:2195 -cert PushChatCert.pem -key PushChatKey.pem ``` It says: (A lot of number and letters) Verify return code: 20 (unable to get local issuer certificate) What the problem is? Thank you