I am trying to implement SSL on my server. I first tested SSL using Apple's "default" and it works fine although, obviously the certificate is not verifiable. Anyway, I then used openssl to generate a key. Using that key, I used openssl to generate a csr. I obtained a certificate from CACERT using that csr and also got the CACERT root certificate (PEM format). Using the server admin GUI I set the parameters (I made the assumption that the "Certificate Authority File" was CACERT's root certificate). So far all's well. I then saved and the web service failed to start with the following errors:
[Tue Dec 27 08:26:15 2005] [error] mod_ssl: Init: Unable to read server certificate from file /Users/admin/Documents/Keygen/server.crt (OpenSSL library error follows)
[Tue Dec 27 08:26:15 2005] [error] OpenSSL: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[Tue Dec 27 08:26:15 2005] [error] OpenSSL: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
Can someone help me troubleshoot this problem? TIA.