Reputation: 1267
I can't upload my production APNs Certicate on Firebase. There was an error reading your certificate.
I can't find out the cause of this error.
Upvotes: 7
Views: 3652
Reputation: 1574
You should select only the certificate and don't select the private key . See this screenshot
Upvotes: 5
Reputation: 1646
In my case I have faced this issue because I was exported 2 items Apple Development Push Services along with private key, and uploaded .p12 file to firebase. Then it said there was an error reading your certificate.
So the solution is don't export private key along with Apple Development Push Services item. Now generated .p12 file uploaded in Firebase. And the upload was successful.
Hope it will help to someone.
Upvotes: -1
Reputation: 850
I think you make some mistake's to create the certificate. Follow this link to create certificate correctly and try.
Upvotes: 0
Reputation: 214
I experienced the same issue before due to not proper "Certificate Signing Request". You may miss the Common name when you create a "Certificate Signing Request" or you may mentioned any other mails that didn't include in your xcode as developer Account.
Please try to put a common name and do the process again to create a new APN Certificate.
Upvotes: 0