http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1
After "Making the App ID and SSL Certificate" section, I have a Development SSL Certificate.
I get the error when use SSL certificate and private key to set up a secure connection:
x509 certificate routines:X509_check_private_key:key values mismatch:
After google and I can fix it by the following steps:
Import this Cert to Keychain with steps with this link:
http://stackoverflow.com/a/10477317
Step 1:Open your Keychain Access app.
Step 2:You will see list in left side as 'Login' ,'System' and 'System Roots', just drag your certificate in 'Login' option.
Step 3: You will get certificate install successfully in Keychain Access.
Generating the Apple Push Notification SSL certificate on Mac:
https://blog.serverdensity.com/how-to-build-an-apple-push-notification-provider-server-tutorial/
Follow from step 5 to generate SSL Cert, start by export cert and key file.
The steps from step 5 which the same with link at (1) in generate cert section.
0 nhận xét:
Đăng nhận xét