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

SSL - Generating Self-Signed Certificate Error

Alright, so here's the issue I'm having.


Whenever I try to generate a self-signed certificate with the correct common name (MyDomainName.com) I get thrown an error that says the following:


An error occurred while trying to save the certificate to the server.


Check your server's logs for more information. The error (code 5001) was: Expected SecKeychainItemImport to return a SecIdentityRef, but it did not.


Well, I looked through the logs but I didn't find anything conclusive. I also don't really know what I'm looking for and which log file it should be in. My purpose for generating a certificate is to then use it to generate a CSR that my SSL provider will accept so I can generate my SSL and then import it into the Lion Server.


Please Advise.

Mac OS X (10.7)

Posted on Feb 10, 2012 9:28 AM

Reply
1 reply

Feb 16, 2012 3:15 AM in response to KNicklow

Had the exact same issue trying to create a certificate on my Lion Server 10.7.3


After an hour of soul-searching, turns out that my problem was using a comma ( , ) in some of the fields of the Certificate Information screen; so if you use the Organizational Unit field for the address, e.g. "Main Building, 123 Main St", try to replace this by "Main Building - 123 Main Street". All went to plan afterwards!

SSL - Generating Self-Signed Certificate Error

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