Term · .p12 file (PKCS#12 signing identity)
A .p12 is a file in PKCS#12 format that holds a signing certificate together with its private key, encrypted with a password you set. You export it from Keychain Access on a Mac or from Xcode's certificate management, and it has one purpose: carrying a complete signing identity to another Mac or build system. A .cer certificate file on its own, without the private key, cannot sign anything. Conversely, anyone who has both the .p12 and its password can sign software in your team's name, which is why Apple's documentation recommends a strong password and sending the file and the password through separate channels.
How it relates to renting a remote Mac
When you rent a remote Mac, the .p12 is the box you carry your signing identity in between you and that machine, once on the way in and once on the way out.
In: you created a certificate on another Mac in the past. Transfer the .p12 you exported back then to the rented machine, double-click it to import it into the keychain, and you can keep using the existing certificate without creating a new one.
Out: the certificate was created on the rented machine. Export the .p12 the same day, copy it to your own computer, and confirm on your side that the file is intact and you remember the password. After the rental ends and the platform takes the machine back, the whole machine is erased; the data cannot be recovered and no copy is kept.
A few habits for keeping it safe:
- Do not write the password in the file name, and do not put it in the same archive as the file.
- Do not commit the .p12 to a code repository.
- Our support never needs your .p12 or its password to handle any issue. If anyone asks for them, refuse.
For the export steps see Apple documentation: Sharing your team's signing certificates.
FAQ
After importing the .p12, should the file stay on the rented Mac?
Once the import succeeds the private key is already in the keychain, so you can delete the .p12 from the desktop or the Downloads folder. One copy fewer is one risk fewer. Keep the original on your own computer.
What if I forget the .p12 password?
There is no way to recover it. If the keychain on the original Mac still exists, export a new copy; if it does not, your only option is to revoke the certificate and create a new one.
Related
- What is an iOS signing certificate? Development vs distribution certificates
- What is a certificate signing request (CSR), and why is it created on a Mac?
- What is fastlane match, and does it fix signing certificates stuck on one Mac?
- Do I need to back up the data on a remote Mac mini myself?
- What to do on day one with a rented remote Mac mini
Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support