Hi guys. First - apologies if this is a user error, which I suspect it may be...
I can't for the life of me, get this working with APNS, and it's driving me mad. I'm getting an error code 8 from APNS - which is an invalid token, which would suggest that my .pem files are wrong.
I've generated a developement certificate for APS notifications, and then exported that to a .p12. I ran the openssl commands to convert them to .pem files, and I've specified those in the pushd config. I've also configured the gateway and feedback URLs to use the sandbox.
Hi guys. First - apologies if this is a user error, which I suspect it may be...
I can't for the life of me, get this working with APNS, and it's driving me mad. I'm getting an error code 8 from APNS - which is an invalid token, which would suggest that my .pem files are wrong.
I've generated a developement certificate for APS notifications, and then exported that to a .p12. I ran the openssl commands to convert them to .pem files, and I've specified those in the pushd config. I've also configured the gateway and feedback URLs to use the sandbox.
Could you suggest any next steps I can take to look at this? I found an article (http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1) that suggests using telnet to verify connection to the sandbox - this doesn't work for me - here's the error:
Any help appreciated - I'm totally stuck on this :(