This guide walks you through creating the .p12 certificate file required for Apple Wallet pass generation. You’ll need a Mac computer and an Apple Developer account to complete these steps.
Requirements
Before you begin, make sure you have:
- A Mac computer with Keychain Access
- An Apple Developer account ($99/year)
- Access to the Apple Developer Portal
Step 1: Create a Certificate Signing Request (CSR)
First, you need to generate a Certificate Signing Request on your Mac. This creates a private key that will be paired with your certificate.
- Open Keychain Access on your Mac (located in Applications → Utilities)
- In the menu bar, select Keychain Access → Certificate Assistant → Request a Certificate From a Certificate Authority
- Enter your email address and a common name (e.g., your name or company name)
- Select Saved to disk
- Check Let me specify key pair information
- Click Continue
- Set Key Size to 2048 bits
- Set Algorithm to RSA
- Click Continue and save the
.certSigningRequest file to your disk
Important: Keep this file safe. You’ll upload it to the Apple Developer Portal in the next step.
Step 2: Generate the Certificate in Apple Developer Portal
Now you’ll create the actual certificate using your CSR file.
- Log in to the Apple Developer Portal at developer.apple.com
- Navigate to Certificates, Identifiers & Profiles
- Click the + button next to Certificates
- Under Services, select Pass Type ID Certificate
- Click Continue
- Select your Pass Type ID (or create one if you haven’t already)
- Click Continue
- Click Choose File and upload the
.certSigningRequest file you generated in Step 1
- Click Continue
- Click Download to download the resulting
.cer file
Step 3: Create the .p12 File
The final step combines your certificate with the private key to create the .p12 file that Voxel Events uses.
- Double-click the downloaded
.cer file to install it into your Keychain
- Open Keychain Access
- Select the login keychain in the left sidebar
- Select the My Certificates category
- Find the certificate you just added (it should show a disclosure triangle indicating a private key is attached)
- Right-click (or Control-click) the certificate
- Choose Export
- Select Personal Information Exchange (.p12) as the file format
- Choose a location to save the file
- Enter a password to protect the .p12 file (you’ll need this password when configuring Voxel Events)
- Click OK
Step 4: Upload to Voxel Events
Now you can configure Voxel Events to use your certificate.
- Go to Event Tickets → Settings in your WordPress dashboard
- Navigate to the Apple Wallet section
- Upload your
.p12 certificate file
- Enter the password you set when exporting the .p12 file
- Enter your Pass Type ID (e.g., pass.com.yourcompany.tickets)
- Enter your Team ID (found in your Apple Developer account under Membership)
- Click Save
Important Notes
Keep Your Private Key
If you don’t see the option to export as .p12, it means the certificate doesn’t have a private key attached. This happens when:
- The CSR was not created on the same Mac
- The private key was deleted from Keychain
- You’re looking in the wrong keychain or category
If this happens, you’ll need to create a new CSR and generate a new certificate.
Certificate Expiration
Apple certificates typically expire after one year. When your certificate expires:
- Existing passes on users’ devices will continue to work
- New passes cannot be generated until you renew
- You’ll need to repeat this entire process to generate a new .p12 file
Set a calendar reminder to renew your certificate before it expires.
Security Best Practices
- Use a strong password for your .p12 file
- Store the .p12 file securely and don’t share it
- Keep a backup of both the .p12 file and its password in a secure location
- Never commit certificates to version control
Troubleshooting
Can’t export as .p12
Make sure:
- You’re in the My Certificates category (not just Certificates)
- The certificate shows a disclosure triangle with a private key inside
- You created the CSR on the same Mac
Pass generation fails
Verify:
- The .p12 password is correct
- Your Pass Type ID matches exactly (including the “pass.” prefix)
- Your Team ID is correct
- The certificate hasn’t expired
Certificate not showing in Keychain
Try:
- Check both the login and System keychains
- Search for “Pass Type” in the Keychain Access search bar
- Double-click the .cer file again to reinstall it