Fail to upload iOS APNs Certificate on Firebase
Asked Answered
B

4

6

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.

enter image description here

Berlioz answered 22/1, 2018 at 3:20 Comment(0)
A
5

You should select only the certificate and don't select the private key . See this screenshot enter image description here

Andante answered 27/9, 2018 at 6:45 Comment(0)
C
0

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.

enter image description here

Chloroform answered 22/1, 2018 at 5:40 Comment(0)
A
0

I think you make some mistake's to create the certificate. Follow this link to create certificate correctly and try.

Arsyvarsy answered 22/1, 2018 at 5:43 Comment(0)
P
-1

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.

Parka answered 19/9, 2018 at 7:38 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.