Minh Thành
Minh Thành

Reputation: 33

error occurred while updating your APNS Certificate IOS Notification Firebase

My error when upload APNS Certificate Develop IOS

How to fix it ? enter image description here

Upvotes: 1

Views: 1058

Answers (2)

Erdal G.
Erdal G.

Reputation: 2980

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

Upvotes: 0

Aaron
Aaron

Reputation: 121

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.

Upvotes: 4

Related Questions