Apple Pay certificate creation
Go to the Apple Pay merchant ID management page

Click to create the payment certificate

Create on computer: CertificateSigningRequest.certSigningRequest
file
Select the CertificateSigningRequest.certSigningRequest
certificate created in the previous step and upload it to Apple Pay
Download the payment.cer
file from Apple Pay and convert it into the payment_certificate.pem
file. This file is the certificate required for decryption.
openssl pkcs12 -in payment.p12 -nocerts -nodes -out payment_privatekey.pem
Export the paymet.p12
file on the computer and convert it into the payment_privatekey.pem
file. This file is the private key required for decryption.
- Export the
paymet.p12
file


- Retrieve the
payment_privatekey.pem
file from thepaymet.p12
file
openssl pkcs12 -in payment.p12 -nocerts -nodes -out payment_privatekey.pem
Create merchant certificate (only needed for web, the creation process is similar to the payment certificate)
The differences are as follows:
- Click the button shown in the image below to create it.

- Download/export the file: Download the
merchant.cer
file from Apple Pay and convert it into themerchant_certificate.pem
file. This file is the certificate required to get the payment-session.
openssl x509 -inform der -in merchant.cer -out merchant_certificate.pem
Export the merchant.p12
file on the computer and convert it into the merchant_privatekey.pem file. This file is the private key required to get the payment-session.
openssl pkcs12 -in merchant.p12 -nocerts -nodes -out merchant_privatekey.pem
Updated 3 days ago