1

My error when upload APNS Certificate Develop IOS

How to fix it ? enter image description here

2 Answers2

4

Two possibilities- 1. When export p12 from keychain, don't export on private key, right click on parent node of private key, see the screenshot enter image description here

  1. There are two kind of p12 certifications, including Development and Production certification, make sure you are uploading the correct one.
Aaron
  • 121
  • 5
  • FYI-http://stackoverflow.com/questions/37786677/firebase-cannot-upload-production-apns-certificate – Aaron May 08 '17 at 02:49
0

In my case, I had to remove the passphrase (which OpenSSL was reading fine but not Google), and then it worked.

To remove the passphrase:

openssl pkcs12 -in apns-certificate.p12 -nodes -out temp.pem
openssl pkcs12 -export -in temp.pem  -out unprotected.p12
rm temp.pem
Erdal G.
  • 2,694
  • 2
  • 27
  • 37