1 Reply Latest reply: Feb 16, 2012 3:15 AM by ovig
KNicklow Level 1 (0 points)

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)
  • ovig Level 1 (0 points)

    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!