LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-10-2011, 06:49 AM   #1
baldur2630
Member
 
Registered: Jan 2007
Location: Belgium
Distribution: CentOS & Ubuntu
Posts: 132

Rep: Reputation: 17
CentOS 5.5 (5.6) SSL Problem


I installed a new CentOS 5.5 Server. When I ran yum update, it seems to have updated to CentOS 5.6. It asked for a reboot, so I rebooted the server.

Next I setup some Virtual Hosts (Name-based) exactly the same as my CentOS 5.4 server. When I tried to restart the httpd service, it refuses to start because it seems to want an SSL Certificate.

I didn't install SSL, and I don't WANT SSL, because we use these servers to test web site development internally and on the CentOS 5.4 Server, have have 10 name-based Virtual hosts running and all I want to do is move them to the new server (all Servers run under VMware ESX 4.x)

I don't think I did anything wrong other than to do the updates.

Any ideas on how to fix this and get rid of the SSL?
 
Old 04-10-2011, 08:43 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,609

Rep: Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802
Hi,

You can uninstall mod_ssl, or just move /etc/httpd/conf.d/ssl.conf to /etc/httpd/conf.d/ssl.conf-BAK, so apache does not read the ssl configuration part. In this case you should also check httpd.conf and comment out every reference to ssl.

Regards
 
Old 04-10-2011, 09:37 AM   #3
baldur2630
Member
 
Registered: Jan 2007
Location: Belgium
Distribution: CentOS & Ubuntu
Posts: 132

Original Poster
Rep: Reputation: 17
I renamed ssl.conf as you suggested. There were NO references to SSL in httpd.conf. I restart Apache and I get the following messages in the log :-

[Sun Apr 10 15:35:00 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Apr 10 15:35:00 2011] [error] Password for slot internal is incorrect.
[Sun Apr 10 15:35:00 2011] [error] NSS initialization failed. Certificate database: /etc/httpd/alias.
[Sun Apr 10 15:35:00 2011] [error] SSL Library Error: -8177 The security password entered is incorrect
 
Old 04-10-2011, 11:38 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,609

Rep: Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802Reputation: 1802
I guess you've run into this bug
Solution is in post #15

Regards
 
Old 04-11-2011, 02:55 AM   #5
baldur2630
Member
 
Registered: Jan 2007
Location: Belgium
Distribution: CentOS & Ubuntu
Posts: 132

Original Poster
Rep: Reputation: 17
No, I fixed it. I renamed nss.conf to nss.conf-BAK as well as now it's working fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SSL config in Centos linuxguy08 Linux - Server 2 02-07-2011 02:58 PM
SSL Apache client certificate - CentOS 5 - How to install ? dlugasx Linux - Server 1 09-23-2010 11:11 AM
vsftpd SSL problem (522 SSL connection failed) stringZ Linux - Server 8 05-05-2009 03:27 PM
Running centos 5, and i want a secure ftp (ssl or ssl2) Anauj0101 Linux - Server 1 03-04-2008 02:27 PM
can get vsftp 2.0.5+ssl work at centOS 4.4 sever jimmyjiang Linux - Software 4 04-13-2007 01:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration