What is a Certificate Signing Request?
The Certificate Signing Request (CSR) is a block of encoded texts forwarded to a Certificate Authority (CA) when users apply for a digital identity certificate.
The CSR contains the certificate request information, signature algorithm, and a digital signature of the requester.
A CSR is needed when generating Apple certificates (iOS developer and distribution, push notification certificates) in the Apple Developer Portal so that Apple can verify the identity of the issuer.
The request for a CSR has to be created from a local macOS machine.
How to generate a Certificate Signing Request?
To generate a CSR, please follow the steps below:
1. Open the Keychain Access application on your local macOS machine.
2. In the top navigation bar, click on Keychain Access and navigate to Certificate Assistant.
3. Select Request a Certificate From a Certificate Authority… from the available options in the menu.
4. In the Certificate Assistant window that opens, enter your email address in the User Email Address field and a Common Name.
5. Select Saved to disk and click on Continue
6. In the dialog box that appears, give the CSR a filename with the extension
.certSigningRequest, choose a location to save it, and click the Save button.
The CSR file has been now generated and can be used to create any type of Apple certificate.