I generate .certSigningRequest
file via Keychain Access (Keychain Access -> Certificate Assistant -> Request a Certificate From a Certificate Authority...
, I fill in my mail and I save it to disk).
When I log into Apple developer account and try to generate Certificate with it I get message: "Invalid CSR - Invalid Certificate"
What is reason for this? Why this message appears, what could be wrong?
I've seen several StackOverflow questions like this: iPhone Developer Portal won't accept my CSR and I haven't found solution:
If you create your own certificate authority, you can issue a certificate using Certificate Assistant in Keychain Access. As a CA, before you can issue a new certificate, anyone requesting a certificate must create a certificate-signing request (CSR) and send it to you via email.
Here's a basic outline of the CSR process: You run Keychain Access and choose Certificate Assistant > Request a Certificate from a Certificate Authority. You run through the workflow as described in Developer Account Help > Create certificates > Create a certificate signing request.
A Certificate Signing Request or CSR is a specially formatted encrypted message sent from a Secure Sockets Layer (SSL) digital certificate applicant to a certificate authority (CA). The CSR validates the information the CA requires to issue a certificate.
After HOURS of tinkering we found that the issue is a client side (javascript) that checks for the EXACT words "-----BEGIN CERTIFICATE REQUEST-----". Our CSR had "-----BEGIN NEW CERTIFICATE REQUEST-----" (note the word NEW)... After removing "NEW", it was accepted by Apple.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With