Set Signing Certificate in Keychain

Export to a .p12 Certificate

  1. Open Keychain Access.
  2. On the bottom left under Category, click Certificates.
  3. Expand the certificate information and highlight both the certificate and private key.
  4. With both highlighted, right click and select Export 2 items.
    • Name the certificate.
    • Add tags (optional).
    • Select where the certificate will be saved.
    • In the Password dialog, enter a password, verify it and click OK.

Import to Keychain System area

  1. Back in the GigaFox server's Keychain Access app, add the .p12 file to System > My Certificates section. This step may ask for login information.
  2. In the Keychain Access wants to Export "access" from Keychain dialog, select Allow.

Adjust Keychain Access Settings

  1. Launch Keychain Settings.
  2. Confirm that your certificate is located in System > My Certificates. If it's located in another section of the Keychain:
    1. Highlight the certificate.
    2. Drag the certificate to System.
    3. Select Allow on the kcproxy wants to export key "access" from your keychain dialog.
  3. Double-click the private key to access the Attributes/Access Control dialog.
  4. In Access Control, select Allow all applications to access this item and click Save Changes.

Alternatively, the import to the Keychain System area and Adjust Keychain Access Settings steps can be replaced with the following command:


   sudo security import Certificate.p12 -k /Library/Keychains/System.keychain -A -P <.p12 password>
    
«Create an Apple Developer Certificate Create an Apple Provisioning Profile»