You are here: Administration > Reference > Mac Developer Certificate

Creating a Mac Developer Certificate

Many corporate users of the Pexip Infinity Connect desktop client produce a customized and rebranded version of the client application for their own use.

If the Mac OS X version of the application is rebranded, the repackaged application will, by default, be unsigned and will require explicit permissions to run. To allow the application to run by default, it must be signed with an Apple developer certificate.

This guide explains how to create an Apple developer certificate and how to use it to sign a rebranded Infinity Connect desktop client for Mac OS X to allow easier redistribution. See Customizing the Infinity Connect desktop client for more information.

Creating the certificate

  1. You need to register with the Mac Developer Program at https://developer.apple.com/programs/mac/.
  2. Create a new certificate at https://developer.apple.com/account/mac/certificate/certificateList.action.
    1. For the type of certificate you need, select a production Developer ID certificate.
    2. Select Continue.

    3. For the type of certificate you want to generate, select Developer ID Application.
    4. Select Continue.

    5. The next page tells you to create a Certificate Signing Request (CSR):

    6. In the Applications folder on your Mac, open the Utilities folder and launch the Keychain Access application.
    7. Go to Keychain Access > Certificate Assistant > Request a Certificate From a Certificate Authority.

    8. Enter the certificate information:
      1. User Email Address: this is your Apple Developer Account email address.
      2. Common Name: this is your name.
      3. Ensure that you select Saved to disk
    9. Select Continue.

    10. Save the file to your hard drive and then select Done.
    11. You can now return to the Generate your certificate section that is still active in your browser.
    12. Select Choose File and select the newly created .certSigningRequest file that you have just saved to your Mac.
    13. Select Generate.

      Your certificate will now be generated and be ready for use.

    14. Download the certificate from the list of production certificates and open it to ensure that it is added to your keychain for future use.

  3. Sign your Infinity Connect desktop client application. Open a terminal and type the following command:

    codesign --deep --force --verify --verbose --sign "Pexip AS" pathtoyour/App.app

    Where you should replace "Pexip AS" with the Name of your certificate as shown on the Mac Certificates download page, and replace pathtoyour/App.app with the relevant path and application name.