Certificate not showing under "My Certificates" in Keychain (no private key attached)

I am trying to set up code signing for my macOS/Tauri app and I’m running into a problem with my Developer ID Application certificate in Keychain Access.

Steps I followed:

Generated a CSR on my Mac using Keychain Access → Certificate Assistant → Request a Certificate From a Certificate Authority.

Uploaded the CSR to the Apple Developer portal.

Downloaded the resulting .cer file and installed it in my login Keychain.

The certificate appears under All Items, but it does not show under My Certificates, and there is no private key attached.

What I expected: The certificate should pair with the private key created during CSR generation and show under My Certificates, allowing me to export a .p12 file.

What I’ve tried so far:

Verified that the WWDR Intermediate Certificate is installed.

Ensured I’m on the same Mac and same login Keychain where I created the CSR.

Revoked and regenerated the certificate multiple times.

Tried importing into both login and system Keychains.

Problem: The certificate never links with the private key and therefore cannot be used for signing.

Has anyone experienced this issue or knows why the certificate would fail to pair with the private key in Keychain Access? Any workaround or fix would be greatly appreciated.

Answered by DTS Engineer in 857053022

Right.

You have to put the certificate into the same keychain in which you placed the private key during the CSR creation process.

Once you get this sorted, make sure to back up your Developer ID signing identity. These are precious, as I explain in The Care and Feeding of Developer ID.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

That's because you have selected 'System' as opposed to 'login' on the sidebar?

Right.

You have to put the certificate into the same keychain in which you placed the private key during the CSR creation process.

Once you get this sorted, make sure to back up your Developer ID signing identity. These are precious, as I explain in The Care and Feeding of Developer ID.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Certificate not showing under "My Certificates" in Keychain (no private key attached)
 
 
Q