Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
well we have webserver runnung on centos 5.8 and today the httpd has stopped and i'm not able to start it..the error logs shows the following:
Code:
[Sun May 20 04:02:05 2012] [error] Unable to verify certificate 'Server-Cert'. A
dd "NSSEnforceValidCerts off" to nss.conf so the server can start until the prob
lem can be resolved.
[Sun May 20 04:02:05 2012] [error] SSL Library Error: -8181 Certificate has expi
red
Can anyone tell me what has happened and what should i be doing?it's really urgent..
It sounds like the SSL certificate you're using to secure your website has expired. You may need to purchase another one, have it issued, and install it before you'll be able to have verified SSL again.
Since that will take a while, you can add the line it suggests to the httpd config file. That will tell httpd to ignore the error and start anyway (but the cert will still be expired).
if you are not sure you can first add "NSSEnforceValidCerts off" to nss.conf forcely start the httpd,if you have are sure having your problems done,you can comment the "NSSEnforceValidCerts off" in the nss.conf and try to start the http server.
Or, if you don't need mod_nss, you can rename /etc/httpd/conf.d/nss.conf to /etc/httpd/conf.d/nss.conf.bak, so apache does snot try to load it at startup.
If you don't use https, or if you have https working through mod_ssl, don't bother.
Otherwise, you might try the solution proposed here (remove and reinstall mod_nss)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.