Skip to main content

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/reference.html

external image link

Thanks,
Don

Run keychain first aid?


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


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


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


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


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.


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