Importing / Exporting Apple Developer Private Keys

New Contributor III

Hello JAMF!

Slightly off topic question about importing private keys.

What I'm trying to do: Import Apple Developer ID Installer Private/Public Keys

My issue:

Private Keys:

When I'm importing my private keys, it asks for me to enter my private key password. Let's say my private password is "JAMF1234". When I type it in, keychain says it's wrong.

Public Keys:

The contents of this item cannot be retrieved

I can only import the actually Developer ID Installer

Steps I'm taking

Export "Developer ID Installer: CORP NAME"

Export Public key: Common name "MyCORP"

Export Private Key: Common name "MyCorp" with a password of "JAMF1234".

What isn't keychain accepting my password? I know what the password is! Currently backed up the original ~/Library/Keychains

I'd appreciate the help


New Contributor III

Moved the certificate to my desktop and tried it again, no dice.

cd desktop

security import MYCROP.p12 -k ~/Library/Keychains/login.keychain

It asks for a password, I supply the CORRECT password and it tells me it's wrong.


I was able to import my public keys with

security import MYCROP.pem -k ~/Library/Keychains/login.keychain

No dice for the private

New Contributor III

Keeping the password on my private keys blank works.......