LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-07-2011, 12:56 PM   #1
linuxguy08
Member
 
Registered: Apr 2008
Posts: 155
Blog Entries: 2

Rep: Reputation: 15
SSL config in Centos


Hi,

I am in the task of migrating old linux to new linux which centos 5.5. while moving out all apps ,data etc. , I need to configure SSL in apache. I have installed mod_ssl with apache 2.2. i went though some docs to configure with certificate that I have . Not sure how to start the service in 2.2 . The apache/SSL was configured in my old server which apachectl. SO after importing certificatr , I do ./apachectl startssl to take in effect.
In my new server , the http service is /etc/init.d/httpd , not sure how to start SSL service in centos 5.5.
Any help would be highy appreciated.

httpd.x86_64 2.2.3-43.el5.centos.3 installed
httpd-devel.i386 2.2.3-43.el5.centos.3 installed
httpd-devel.x86_64 2.2.3-43.el5.centos.3 installed
httpd-manual.x86_64 2.2.3-43.el5.centos.3 installed

CentOS release 5.5 (Final)

rpm -qa |grep mod_ssl
mod_ssl-2.2.3-43.el5.centos.3
 
Old 02-07-2011, 01:50 PM   #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

If you have configured SSL correctly running:
Code:
/etc/init.d/httpd start
should start apache in both http and https. Note that apache2 doesn't need ./apachectl startssl any more, to start in ssl mode.

Regards
 
Old 02-07-2011, 01:58 PM   #3
linuxguy08
Member
 
Registered: Apr 2008
Posts: 155

Original Poster
Blog Entries: 2

Rep: Reputation: 15
Thats all I need. Thanks for the information!!!
 
  


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 Apache client certificate - CentOS 5 - How to install ? dlugasx Linux - Server 1 09-23-2010 10:11 AM
Apache 2.2.9 and SSL Config Harvfive Linux - Server 1 10-29-2008 06:59 AM
can get vsftp 2.0.5+ssl work at centOS 4.4 sever jimmyjiang Linux - Software 4 04-13-2007 12:14 PM
Having problem with SSL config in Apache2 noone Linux - Software 6 10-17-2006 08:27 PM
Apache2 SSL Config problem Xixulon Linux - Software 1 10-19-2004 04:11 PM

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

All times are GMT -5. The time now is 02:24 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
Open Source Consulting | Domain Registration