Hi All,
I've been struggling setting up SSL on Apache 1.3 + mod_ssl + OpenSSL.
Here's the error I get while trying to startssl:

[07/Jan/2005 11:25:03 30117] [info]  Init: Initializing OpenSSL library
[07/Jan/2005 11:25:03 30117] [info]  Init: Loading certificate & private
key of SSL-aware server www.wildgardenseed.com:443
[07/Jan/2005 11:25:03 30117] [error] Init: Unable to read server
certificate from file

/etc/httpd/conf/ssl.crt/www.wildgardenseed.com.crt (OpenSSL library error
follows)
[07/Jan/2005 11:25:03 30117] [error] OpenSSL: error:0D0680A8:asn1 encoding
routines:ASN1_CHECK_TLEN:wrong tag
[07/Jan/2005 11:25:03 30117] [error] OpenSSL: error:0D07803A:asn1 encoding
routines:ASN1_ITEM_EX_D2I:nested asn1 error

Here's the relevent parts of my httpd.conf:
<IfDefine SSL>
<VirtualHost 66.199.229.59:443>
ServerName www.wildgardenseed.com
DocumentRoot /home2/wildgar/public_html
User wildgar
Group wildgar
SSLEngine On
SSLCertificateFile /etc/httpd/conf/ssl.crt/www.wildgardenseed.com.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/www.wildgardenseed.com.key
</VirtualHost>
</IfDefine>

The key is not encrypted, and was generated with openssl.

I've struggled with it for the past 12 hours :S...does anybody have any
ideas?

Thanks,
-- 
Taj
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to