Mountain Lion - Error importing Signing Certificate from developer.apple.com

donmontalvo
Esteemed Contributor III

I was able to generate a Certificate Signing Request, and I sent it to Apple, and got a Signing Certificate.

When I try to bring the Signing Certificate into Keychain Access I get this error:

external image link

I found this error on the developer.apple.com site, what broke and how can I fix it? :)

https://developer.apple.com/library/mac/#documentation/security/Reference/keychainservices/Reference...

external image link

Thanks,
Don

--
https://donmontalvo.com
4 ACCEPTED SOLUTIONS

jarednichols
Honored Contributor

Run keychain first aid?

View solution in original post

jarednichols
Honored Contributor

Interesting. Maybe you danced wrong. Were you spinning clockwise or anti-clockwise?

View solution in original post

donmontalvo
Esteemed Contributor III

Called in a favor from an Apple SE...deleting the login.keychain and then reimporting it from ~/Library/Keychains/login.keychain fixed the problem on the Mac that had the problem.

--
https://donmontalvo.com

View solution in original post

donmontalvo
Esteemed Contributor III

Another interesting article...

http://blog.twocanoes.com/post/36906672740/signing-installer-packages-with-apple-3rd-party

Thank you Tim Perfitt and his gang at Twocanoes!

Don

--
https://donmontalvo.com

View solution in original post

7 REPLIES 7

jarednichols
Honored Contributor

Run keychain first aid?

donmontalvo
Esteemed Contributor III

@jarednichols Yep, keychain first aid, and did the single user mode dance, and recovery hd to repair disk and fix permissions. Same error.

--
https://donmontalvo.com

donmontalvo
Esteemed Contributor III

I tested on a freshly imaged Mac...it works fine. :)

I'll reimage the problem Mac, since it is used for Mac Packaging.

Thanks,
Don

--
https://donmontalvo.com

jarednichols
Honored Contributor

Interesting. Maybe you danced wrong. Were you spinning clockwise or anti-clockwise?

donmontalvo
Esteemed Contributor III

LOL...I tried command line too... :)

Got the same error using the command: $ sudo security add-trusted-cert -k /Users/donmontalvo/Library/Keychains/login.keychain ./devloperID_installer.cer Password: SecCertificateAddToKeychain: The specified keychain is not a valid keychain file. $ GOOD NEWS: I tested your procedure on a freshly imaged Mac, worked like a charm. I’ll have the guys reimage the packaging Mac so they can start signing their installers. U ROCK!!! Don

Here is Jeff Strauss' excellent blog instructions:

http://jeffstrauss.com/?p=82

Don

--
https://donmontalvo.com

donmontalvo
Esteemed Contributor III

Called in a favor from an Apple SE...deleting the login.keychain and then reimporting it from ~/Library/Keychains/login.keychain fixed the problem on the Mac that had the problem.

--
https://donmontalvo.com

donmontalvo
Esteemed Contributor III

Another interesting article...

http://blog.twocanoes.com/post/36906672740/signing-installer-packages-with-apple-3rd-party

Thank you Tim Perfitt and his gang at Twocanoes!

Don

--
https://donmontalvo.com