Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

keychain access certificate import problem -- can't send secure email

i purchased a digital cert from verisign (what they call a Digital ID Class 1). when i download from their site, keychain access opens up and imports the cert into keychain login, but into certificates (NOT my certificates). since there is no cert in my certificates, apple mail can't use the cert for digital signing and encryption. i tried importing into my certificates, failed. i tried copying and pasting the cert into my certificates, failed. i don't seem to be able to convince keychain access that this cert is mine, and put it into my certificates, so i can use it. it is treating this cert just like any other cert i got from others, and simply putting it in certificates.

macbook pro, Mac OS X (10.6.1)

Posted on Nov 4, 2009 2:39 PM

Reply
6 replies

Nov 8, 2009 10:00 AM in response to Joe Rockmore

OK, i figured this out myself (with significant help from on-line sources and my buddy glen), so i wanted to post for others to not have to go through what i went through. here you go: the cert from verisign is a .p7c file, which, when imported into keychain access, is not recognized as your own cert. apparently, it must be a .p12. how do you transform your cert from .p7c to .p12? easiest way (actually, the only way i found) is to export it from firefox (when you double click on the .p7c it automagically imports into all browsers as well as keychain access). so, in firefox, go to preferences > advanced > encryption > view certificates. you should see the cert from verisign. then click on it and click the backup button, which will create a .p12 cert. then delete the cert from verisign from keychain access that is in "certificates," and import the new cert (either drag it to the keychain app icon or use import). you should then see a cert in "my certificates" from verisign. quit apple mail and restart it, and you should see the sign and encrypt icons in the compose mail window, and it will properly digitally sign and encrypt emails. i was able to do both successfully after this operation. good luck!

Nov 10, 2009 9:48 AM in response to Joe Rockmore

a bit more info that i found: it seems that the .p7c file from verisign has the digital cert, but no keys. when importing into keychain access, without keys it treats it like any other cert. but when it imports into firefox, it creates a key pair (public and private), which it can export with the cert as a .p12 file. when keychain access sees a cert with both keys (vice only the public key), it properly interprets it as your cert, since only your cert would have a private key.

so the real problem is not that verisign sold me the wrong key, but that upon download the key pair is generated by firefox (not the mac operating system) and is thus not available to other apps, like keychain access. this is a firefox weirdness...they should use the OS API to request key pair generation, but that would require calls to various versions of the OS. its easier, apparently, to just generate the keys, which works for firefox but not for other apps on the same machine. so i think mozilla foundation is to blame for this problem. [if i have this wrong, hopefully someone from mozilla will correct me.]

Dec 16, 2009 12:45 PM in response to Joe Rockmore

Thanks! Solved my problem, too. My cert was from Comodo (User Trust Network) and the steps in this post fixed things using Firefox. They worked as advertised.

It was interesting that when I tried using Safari instead, it actually downloaded a .p7s file and created a certificate (unlike FF), but also did not create the key. Doing the backup and importing the backup file into keychain assistant did create the key and mail recognized it.

Definitely was not a "just works" thing more typical of OS X...

keychain access certificate import problem -- can't send secure email

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.