I have installed apache with mod_ssl and I'm trying to get it to start, but I keep getting the following:
[code]root@feodor:/etc/apache# apachectl startssl
[Sun Jul 25 23:29:43 2004] [warn] module php4_module is already loaded, skipping
[Sun Jul 25 23:29:43 2004] [warn] module mod_ssl.c is already added, skipping
/usr/sbin/apachectl startssl: httpd could not be started
root@feodor:/etc/apache#
[code]
when I check the /var/log/apache/error_log or the ssl_engine_log, I see the following madness:
Code:
[25/Jul/2004 23:29:43 08323] [error] Init: Unable to read server certificate from file /etc/apache/ssl.crt/toolkit.crt (OpenSSL library error follows)
[25/Jul/2004 23:29:43 08323] [error] OpenSSL: error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
[25/Jul/2004 23:29:43 08323] [error] OpenSSL: error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error
Anybody know what might be causing this? Alternatively, is there perhaps a simpler way to genearte a test certificate - this is really just for testing some https stuff on a local sandbox.
thanks
christo