There are two main types of signing certificates to take note when developing apps for Apple App Store: development certificates and distribution certificates. In this article, we’ll focus on the latter. An iOS distribution certificate, as defined by Apple identifies your team or organization in a distribution provisioning profile and allows you to submit your app to the store. Not anyone in the team can create an iOS distribution certificate, though. Only team agents and admin members have the authority to execute this task. Also, there are different types of iOS distribution certificates depending on the app’s desired distribution method.
- Only Apple can issue and authorize all types of signing certificates. But in order for any of these certificates to be of use, an intermediate certificate should be installed in the system keychain.
- A certificate signing request (CSR).
Requesting for an iOS distribution certificate:
- Sign in to Apple Developer Center.
- Under the “iOS Developer Program” select “Certificates, Identifiers & Profiles”.
- Under “iOS Apps” select “Certificates”
- On the next screen, click the “+” sign on the upper right hand side of the screen.
- Select the type of certificate you need. Under “Production”, select “App Store and Ad Hoc”.
- Scroll down and you will see a reminder about intermediate signing certificate. If you don’t already have one in your Keychain, click on the link. Click on the download button and double click the right file. The selected file will then appear in your Keychain Access window.
- You will then be prompted to create a CSR file. Follow the instructions in creating a CSR file and then return to “About Creating a Certificate Signing Request (CSR)” window and select “Continue”.
- In the next screen, upload the CSR file and then click the “Generate” button.
- A message that reads, “Your certificate is ready” appears. All you need to do now is download, install and backup (optional) the iOS distribution certificate. Click on the “Download” button and save the file. Double click the downloaded file or drag it to the Keychain Access window.
- Click “Done.” The iOS distribution certificate is now ready for use.
You can also backup your certificates through the Keychain Access app.
- Under “Category”, select “Keys”.
- Highlight the private key associated with your iOS distribution certificate.
- Command-click and select “Export Items” on the dropdown menu.
- Save the private key using the Personal Information Exchange (.p12) file format.
- A prompt will then appear asking that you create a password to regulate access in case the key is imported to another computer.