Click to See Complete Forum and Search --> : SSLCertificateFile: not exists or empty


gishmachina
10-01-2002, 03:57 PM
I added some lines to my apache config file that added cgi-bin folders to /home/*/public_html/ so I could have cgi scripts in the home directories.
I use '/usr/sbin/apachectl stop' then '/usr/sbin/apachectl start' to restart apache, and I get this error:

Syntax error on line 1327 of /etc/httpd/conf/httpd.conf
SSLCertificateFile: file '/etc/httpd/conf/ssl.crt/server.crt' not exists or empty
/usr/sbin/apachectl start: httpd could not be started

I dont remember making any changes to that part of the config file, but this is whats on likne 1327:

SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt

I tried commenting all the lines I created before I got this error, and I still get the error.

gishmachina
10-04-2002, 01:05 PM
waw?

mdwatts
10-05-2002, 07:54 AM
waw??? Real Linux users never cry. :)

I guess the obvious...

Does /etc/httpd/conf/ssl.crt/server.crt actually exist or is it empty?

gishmachina
10-06-2002, 06:47 PM
yep, its there; it has some encrypted crap in it

mychl
10-07-2002, 02:54 PM
Perhaps you could make another key....

Look in /usr/share/SSL/ and run ./CA -newcert

Answer all the questions, and then split the new file into your key and cert, and put them in the appropriate place as mentioned by apache.

HTH