Create P12 File for Apple Pay
Limio requires a .p12 file containing a certificate and its corresponding private key to enable to . Follow this step-by-step guide to generate the .p12 file and securely share it with us for storage in a secure secrets manager.
Prerequisites
Certificate Signing Request (CSR): Ensure the certificate (e.g. Apple Pay Merchant Identity Certificate) was created via a CSR process by the same individual who will download it. This guarantees access to the private key linked to the certificate.
OpenSSL Installed (Windows specific): Ensure OpenSSL is installed on your machine. It is required for combining the certificate and private key into a .p12 file. OpenSSL can be downloaded from .
Steps for Mac OS
Download the Certificate
Log in to the relevant portal (e.g. Apple Developer).
Download the certificate file to your Mac.
Create the .p12 File
Import the Certificate into Keychain Access:
Locate the downloaded certificate in Finder.
Double-click the certificate file to open it. This action will import the certificate and its associated private key into Keychain Access.
Locate the Certificate in Keychain Access:
Open Keychain Access
Search for the certificate by name in the search bar.
Export the Certificate and Private Key:
In Keychain Access, expand the certificate to reveal its private key.
Select both the certificate and its private key (use
CmdorShiftto select both items).Right-click on the selected items and choose "Export 2 Items..."
Save as a .p12 File
When prompted, save the file in
.p12format. Choose a secure and easily retrievable location for the file.
Secure the File with a Password
During the export process, you will be prompted to secure the
.p12file with a password. Important: Choose a strong password and store it safely.
Locate the .p12 File
Navigate to the location specified during the export process to verify the
.p12file was successfully created.
Once the file is created, you can share the .p12 file with the Limio Support Team.
Important: The password for the .p12 file should never be shared as plain text in an email. It should be shared through a secure side channel (e.g., a secure messaging platform) using the secure method specified by Limio Support.
Steps for Windows
Download the Certificate
Log in to the relevant portal (e.g., Apple Developer).
Download the certificate file to your Windows machine.
Ensure you have the Private Key
Ensure the private key generated during the CSR process is stored securely on your machine (typically as a
.keyfile). You will need this file for the.p12creation process.
Install OpenSSL
Install OpenSSL on your Windows machine if it is not already installed
Open a command prompt
search for
cmdin the Start menu, and navigate to the directory where OpenSSL is installed (e.g.,C:\OpenSSL-Win64\bin).
Create the .p12 File
Prepare the Certificate and Private Key
Ensure the downloaded certificate file (e.g.
.ceror.crt) and the private key file (e.g..key) are in the same directory for easier accessOpen a command prompt in the directory containing your certificate and private key files.Run the following OpenSSL command to combine the certificate and private key into a
.p12file:openssl pkcs12 -export -inkey private_key.key -in certificate.crt -out output_file.p12_(Replace placeholder names with the actual file names.)_
**Create the .p12 File Using OpenSSL
**
Secure the File with a Password
During the process, OpenSSL will prompt you to set a password for the
.p12file.Choose a strong password and store it securely.
Locate the .p12 File
The
.p12file will be saved in the directory where you ran the command. Verify the file was created successfully.
Share the .p12 File
Once the file is created, you can share the .p12 file with the Limio Support Team.
Important: The password for the .p12 file should never be shared as plain text in an email. It should be shared through a secure side channel (e.g., a secure messaging platform) using the secure method specified by Limio Support.
Last updated
Was this helpful?

