Create a signing certificate for the iOS certificate set that is required to generate
an installation package for your iOS app.
Before you begin: Prepare the framework for generating a signing certificate
for your app:
- Ensure that you have access to an Apple Developer Portal account. For more
information, see the Apple developer documentation.
- Use a computer with the macOS operating system.
You generate a signing certificate in the Apple Developer
Portal to prove that the code and updates of your app come from a legitimate source. The
certificate is stored in a .p12 file that you upload to an iOS
certificate set in Pega Platform.
-
Go to https://developer.apple.com, and then sign in to your Apple Developer Portal account.
-
On your account dashboard, click Certificates, Identifiers &
Profiles.
-
On the Certificates, Identifiers & Profiles page, in
the category list on the left side of the screen, click
Certificates.
-
In the Certificates section, add a new certificate by
clicking the plus icon.
-
In the Create a New Certificate section, choose the
certificate type that you want to use for your app:
- To create a certificate that you want to use for app development, click
Apple Development.
- For the Apple Developer Program: To create a certificate to use for app
distribution, click iOS Distribution (App Store and Ad
Hoc).
- For the Apple Developer Enterprise Program: To create a certificate to
use for app distribution, click In-House and Ad
Hoc.
Note: The number of specific types of certificates that you can create on your
account depends on the type of your Apple membership program. You can have
up to two distribution signing certificates in your Apple Developer Portal
account to maintain work and distribution continuity for your app. For
example, when the first certificate in a profile expires, you can replace it
with the second one to ensure that the profile remains active and valid. For
more information about the limits on development and distribution signing
certificates for your program, see the Apple developer documentation.
-
Click Continue.
-
Generate a certificate signing request file:
-
On your macOS computer, open the Keychain Access application.
-
On the menu bar, click .
-
In the Certificate Assistant window, enter your
email address and a common name for the certificate.
-
Choose the request type by clicking Saved to
disk.
-
Click Continue, and then save the certificate
signing request file on your hard drive.
-
In the Apple Developer Portal, in the Create a New
Certificate section, upload the file that you generate in
Keychain Access, and then click Continue.
Result: You have generated a signing certificate for your app. You can download
the certificate as a .cer file.
-
In the Download Your Certificate section, click
Download, and then save the .cer
file with your signing certificate on your hard drive.
-
Generate a .p12 file that you can upload to your iOS
certificate set:
-
On your computer, double-click the .cer file, and
then confirm its addition to Keychain Access.
-
In Keychain Access, find your certificate file.
-
Right-click the certificate, and then click Export
"your certificate type and
name".
-
In the export window, in the File Format list,
select the Personal Information Exchange (.p12)
format.
-
Click Save.
-
In the password protection window, protect the file from unauthorized
use by encrypting the file with a password, and then click
OK.
-
Enter your system password, and then click
Allow.
Result: You now have a signing certificate in a
.p12 file format that you can upload to an iOS certificate set
in Pega Platform. You can also create a provisioning profile for your
iOS app and pair it with the certificate that you created to ensure that the app you
generate is signed.