Closed GoogleCodeExporter closed 8 years ago
Is there a proxy or a firewall in front of your server that could be
interfering with the connection?
What happens if you run JavaPNS from the command line?
Could you please provide the full log output from JavaPNS, not just the
exceptions part?
Could you also try version 2.3 Beta, which is in the trunk?
Thank you!
Original comment by sype...@gmail.com
on 28 Sep 2012 at 5:38
I am a new iOS developer and have the same issue before. And this may be the
same issue you facing.
I finally find the problem is due to the p12 certificate. We should not use the
private key p12 file, instead we should generate a p12 from your private key
and the cert download from Apple.
Please execute the following OpenSSL command to get the correct p12 file:
developer_identity.cer <= download from Apple
mykey.p12 <= Your private key
openssl x509 -in developer_identity.cer -inform DER -out developer_identity.pem
-outform PEM
openssl pkcs12 -nocerts -in mykey.p12 -out mykey.pem
openssl pkcs12 -export -inkey mykey.pem -in developer_identity.pem -out
iphone_dev.p12
After that, you should use iphone_dev.p12 to communicate with apple server.
Original comment by fongyat...@gmail.com
on 30 Sep 2012 at 7:34
yes you are correct I was doing same mistake. I have corrected the .p12 file
and its working fine.
Thanks
Original comment by mahendr...@gmail.com
on 4 Oct 2012 at 7:11
Closing issue report. Thank you.
Original comment by sype...@gmail.com
on 5 Oct 2012 at 2:52
Original issue reported on code.google.com by
mahendr...@gmail.com
on 28 Sep 2012 at 5:12