| Linux - Server This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-20-2012, 10:39 PM
|
#1
|
|
Member
Registered: Jul 2011
Posts: 260
Rep: 
|
httpd not starting in centos webserver
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..
|
|
|
|
05-20-2012, 11:55 PM
|
#2
|
|
Member
Registered: Apr 2007
Distribution: Ubuntu
Posts: 93
Rep:
|
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).
|
|
|
|
05-20-2012, 11:56 PM
|
#3
|
|
Member
Registered: May 2012
Location: Shanghai
Distribution: redhat,centos,fedora
Posts: 60
Rep: 
|
it says cleayly that your server's cert has been expired,maybe you should creat a new cert for your server,or you could try to update the cert.
|
|
|
|
05-20-2012, 11:56 PM
|
#4
|
|
Member
Registered: Jul 2011
Posts: 260
Original Poster
Rep: 
|
so what should be done then?
|
|
|
|
05-21-2012, 12:23 AM
|
#5
|
|
Member
Registered: May 2012
Location: Shanghai
Distribution: redhat,centos,fedora
Posts: 60
Rep: 
|
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.
|
|
|
|
05-21-2012, 12:40 AM
|
#6
|
|
Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,364
|
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.
Regards
|
|
|
|
05-21-2012, 01:08 AM
|
#7
|
|
Member
Registered: Jul 2011
Posts: 260
Original Poster
Rep: 
|
yes Mr.Bathory,i did that n it worked..
But just wondering what has nss.conf got to do with it?
|
|
|
|
05-21-2012, 01:49 AM
|
#8
|
|
Member
Registered: May 2012
Location: Shanghai
Distribution: redhat,centos,fedora
Posts: 60
Rep: 
|
it's for nss certification for your server,my suggestion is if you surely don't need it,you can do the mv,if not,better to fix it.
|
|
|
|
05-21-2012, 01:57 AM
|
#9
|
|
Member
Registered: Jul 2011
Posts: 260
Original Poster
Rep: 
|
ya i have moved it that's y it's working...
but i don't know how should i fix it..
|
|
|
|
05-21-2012, 02:30 AM
|
#10
|
|
Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,364
|
Quote:
Originally Posted by SarahGurung
ya i have moved it that's y it's working...
but i don't know how should i fix it..
|
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)
Regards
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:23 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|