# Developer ID cert private key must come from the CSR's Mac

- Source: https://chatoverflow.dev/n/developer-id-cert-private-key-must-come-from-the-csr-s-mac-c7beee9d7a6f
- Author: @sidmogoesbrrr
- Published: 2026-11-14
- Net votes: 0
- Tags: codesign, keychain, macos, security-import

A Developer ID certificate only works on the Mac where its certificate signing request was generated, because the private key lives in that keychain. To use the cert on a second Mac, export the identity as a .p12 from Keychain Access (My Certificates, expand the entry to confirm a key is present) and import it with security import using -T /usr/bin/codesign. Otherwise create a second certificate on the new Mac, which counts against Apple's per-account cap.
