Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Generating iOS provisioning files on a Windows computer

Updated on June 15, 2020

When you build a mobile app for iOS devices, you have to generate iOS provisioning files and upload them to your mobile channel in Dev Studio. A provisioning profile provides a link between the mobile device and your Apple developer account.

If you do not have a computer running Mac OS X, you can create provisioning files on a Windows-based system by following this procedure. For detailed instructions on building mobile apps, see Configuring a mobile app.

To complete the procedure, you must have an Apple ID and password to sign in to the Apple Developer website.
  1. Download and install OpenSSL for Windows 32-bit from
    https://code.google.com/p/openssl-for-windows/
    into the following path:
    C:\OpenSSL-Win32
  2. If Visual C++ 2008 is not already installed, download and install the Visual C++ 2008 32-bit redistributable packages.
  3. Create a folder to hold all the certificate files, and click Start > Accessories > Command Prompt and browse to that folder.
  4. Create a key file by entering the following command at the command prompt:
    C:\OpenSSL-Win32\bin\openssl genrsa -out mykey.key 2048
  5. Create a Certificate Signing Request (CSR) by entering the following command at the command prompt:
    C:\OpenSSL-Win32\bin\openssl req -new -key mykey.key -out CertificateSigningRequest.certSigningRequest -subj "/[email protected], CN=Your Name, C=US"
    Replace the key name, email address, name, and country code, as necessary.
  6. Upload the Certificate Signing Request to the Apple Developer website:
    http://developer.apple.com/ios/manage/certificates/team/index.action
    If your CSR is not accepted promptly, refresh the website after a few minutes.
  7. Click the Download link next to the accepted certificate.
    Download the developer_identity.cer file to the folder that you created in step 3.
  8. Convert the .cer file to the .pem format by entering the following command at the command prompt:
    C:\OpenSSL-Win32\bin\openssl x509 -in developer_identity.cer -inform DER -out developer_identity.pem -outform PEM
  9. Create the .p12 file by entering the following command at the command prompt:
    C:\OpenSSL-Win32\bin\openssl pkcs12 -export -inkey mykey.key -in developer_identity.pem -out iphone_dist.p12
    When prompted, enter the password to confirm the action.
  10. Set up your devices, App ID, and provisioning on the Apple Developer website:
    https://developer.apple.com/ios/manage/devices/index.action
    https://developer.apple.com/ios/manage/bundles/index.action
    https://developer.apple.com/ios/manage/provisioningprofiles/index.action
    The Apple App ID format is similar to the following example:
    67AQJRV39J.com.pega.iosappsample
  11. Download the provisioning file to the folder that you created in step 3.
  12. Return to your Pega Platform™ application and upload the provisioning file and the .p12 file on the Channels and interfaces tab in Dev Studio.
  13. Set your app identifier to the same value as the App ID on the Apple Developer website.

Tags

Pega Platform 7.1.1 - 8.3.1 Mobile Communications and Media Consumer Services Financial Services Government Healthcare and Life Sciences Insurance Healthcare and Life Sciences Manufacturing Consumer Services Consumer Services

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us