Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Enriquecm/61c333c00a54b384df81a938402a1d30 to your computer and use it in GitHub Desktop.
Save Enriquecm/61c333c00a54b384df81a938402a1d30 to your computer and use it in GitHub Desktop.
The process to share a iOS Certificates.

Create

  1. Open Certificate area on https://developer.apple.com/account/ios/certificate/;
  2. Add a new iOS "Certificate";
  3. Select "AppStore and Ad Hoc" or "In-House and Ad Hoc" under Distribution;
  4. Follow the steps to create a CSR file
    • Open “Keychain Access” from your Applications > Utilities folder on your Mac;
    • Select Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority;
    • In the User Email Address field, enter your email address;
    • In the Common Name field, create a name for your private key (e.g., John Doe Dev Key);
    • The CA Email Address field should be left empty.
    • In the "Request is" group, select the "Saved to disk" option.
    • Click Continue within Keychain Access to complete the CSR generating process.
  5. Upload CSR file;
  6. Download, Install and Backup;

Share (or Backup)

  1. Open “Keychain Access” from your Applications > Utilities folder on your Mac;
  2. Look for the “Category” area within Keychain Access (left column, below “Keychains”;
  3. Look for “iPhone Distribution: [name]” then expand it and highlight both items:
    • “iPhone Distribution: [name]” row;
    • “team agent name” private key;
  4. While both rows are highlighted, right click and select “Export 2 items”;
  5. You will save a p12 file to your machine. For this, you will need to create a password in order to share the file. (Save the password)
  6. Send both the p12 file and the password to you team member!

Install

  1. Double click on p12 file. The Keychain Access will open;
  2. Enter the password;
  3. This will give you a new private key;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment