Probably the best think to do is add the absolute path to the files as:
SSLCertificateFile C:/Program Files/Apache2/conf/ssl/servername.cert
SSLCertificateKeyFile C:/Program Files/Apache2/conf/ssl/servername.key
The above paths are assumed to be correct.
Kevin
Asad Habib wrote:
Hello. Thanks for your input. I have tried your suggestion already and
it yielded the same Syntax error as mentioned below and the
SSLCertificateFile error was as follows:
SSLCertificateFile: Invalid file path conf/ssl/servername.cert
- Asad
On Wed, 8 Mar 2006, Kevin Smith wrote:
Well, I think as Apache2 is the root, you path is wrong for the
certificate file, as the error shows, you config should be as follows:
<VirtualHost server-ip-address:443>
SSLEngine On
SSLCertificateFile conf/ssl/servername.cert
SSLCertificateKeyFile conf/ssl/servername.key
</VirtualHost>
Regards,
Kevin
Asad Habib wrote:
Hello. I am running Windows XP and I am trying to make Apache2 run
with mod_ssl. I have a certificate file and certificate key file in
place but when I run Apache I get the following error:
Syntax error on line 973 of C:/Program Files/Apache2/conf/httpd.conf
SSLCertificateFile: file 'C:/conf/ssl/servername.cert' does not
exist or is empty
The code for my virtual host directive is as follows:
<VirtualHost server-ip-address:443>
SSLEngine On
SSLCertificateFile /conf/ssl/servername.cert
SSLCertificateKeyFile /conf/ssl/servername.key
</VirtualHost>
I lot of folks have had similar problems as I found out through
Google, but I have not come across any viable solutions. Your help
would be appreciated. Thanks.
- Asad
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager [EMAIL PROTECTED]