My error when upload APNS Certificate Develop IOS
Asked
Active
Viewed 1,013 times
2 Answers
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
- 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.
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