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.

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