Tuesday, December 28, 2004

apache no longer find its ssl certificate file

on mandrake 10.0, I updated apache to the latest version (urpmi).

when I tried to restart apache I got the following error:

[root@server1 root]# service httpd start
Starting httpd2: Syntax error on line 44 of /etc/httpd/conf.d/41_mod_ssl.default-vhost.conf:
SSLCertificateFile: file '/etc/ssl/apache2/server.crt' does not exist or is empty

did an updatedb, then locate server.crt and server.crt turned up in /etc/ssl/apache/server.crt

and the same for server.key

made the relevant changes to /etc/httpd/conf.d/41_mod_ssl.default-vhost.conf,

then service httpd start, and it worked this time

1 comment:

  1. Anonymous2:53 pm

    Thanks, you save save my w-e

    ReplyDelete