Guest wildbill12 Posted January 29, 2007 Report Share Posted January 29, 2007 After putting in the mandriva 2007 DVD and upgrading my Mandriva 2006 install I now get an error when starting apache. I've also upgraded all the relevant packages through urpmi. Here's the error: > /etc/init.d/httpd start Starting httpd: Syntax error on line 46 of /etc/httpd/modules.d/41_mod_ssl.default-vhost.conf: SSLCertificateFile: file '/etc/pki/tls/certs/localhost.crt' does not exist or is empty [FAILED] Everything else is running smoothly after the upgrade (mysql, proftp server, etc)....... Quote Link to comment Share on other sites More sharing options...
Guest wildbill12 Posted January 30, 2007 Report Share Posted January 30, 2007 well, if I comment out the line that's giving the error I get this when starting httpd: Starting httpd: Syntax error on line 53 of /etc/httpd/modules.d/41_mod_ssl.default-vhost.conf: SSLCertificateKeyFile: file '/etc/pki/tls/private/localhost.key' does not exist or is empty Comment out that line and I get no errors, but it doesn't start: > /etc/init.d/httpd start Starting httpd: [FAILED] So this must have something to do with a SSL keys.......anyone with more knowledge here that can help me?? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 30, 2007 Report Share Posted January 30, 2007 If it was working before, then this SSL certificate should have existed. Have you checked if it still exists in this directory or not since the upgrade? Quote Link to comment Share on other sites More sharing options...
Guest wildbill12 Posted January 30, 2007 Report Share Posted January 30, 2007 Thanks for the help. Nope, those certificates aren't in the directory anymore. In the /etc/pki/tls/private/ directory I have a MakeFile, make-dummy-cert, and ca-bundle.cert It was working fine before the upgrade. Is there anyway to create this certificates? Quote Link to comment Share on other sites More sharing options...
Guest wildbill12 Posted January 31, 2007 Report Share Posted January 31, 2007 Issue solved. Someone pointed me to this guide here http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html#aboutcerts and I was able to recreate the certificate and key and get the webserver back up and running. Odd that they were removed in the upgrade. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.