LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 05:49 AM   #1
baldur2630
Member
 
Registered: Jan 2007
Location: Belgium
Distribution: CentOS & Ubuntu
Posts: 173

Rep: Reputation: 22
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, 07:43 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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, 08:37 AM   #3
baldur2630
Member
 
Registered: Jan 2007
Location: Belgium
Distribution: CentOS & Ubuntu
Posts: 173

Original Poster
Rep: Reputation: 22
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, 10:38 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

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

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

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


Reply



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 01:58 PM
SSL Apache client certificate - CentOS 5 - How to install ? dlugasx Linux - Server 1 09-23-2010 10:11 AM
vsftpd SSL problem (522 SSL connection failed) stringZ Linux - Server 8 05-05-2009 02:27 PM
Running centos 5, and i want a secure ftp (ssl or ssl2) Anauj0101 Linux - Server 1 03-04-2008 01:27 PM
can get vsftp 2.0.5+ssl work at centOS 4.4 sever jimmyjiang Linux - Software 4 04-13-2007 12:14 PM

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

All times are GMT -5. The time now is 03:51 AM.

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
Open Source Consulting | Domain Registration