LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   SSL config in Centos (https://www.linuxquestions.org/questions/linux-server-73/ssl-config-in-centos-861215/)

linuxguy08 02-07-2011 12:56 PM

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

bathory 02-07-2011 01:50 PM

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

linuxguy08 02-07-2011 01:58 PM

Thats all I need. Thanks for the information!!!


All times are GMT -5. The time now is 12:20 PM.