-   Linux - Newbie (
-   -   CentOS 6.4 setup SSL certificate for apache2 (

jim.isom 06-04-2013 04:14 PM

CentOS 6.4 setup SSL certificate for apache2

I need to setup a SSL certificate for apache2 on a CentOS 6.4 server. This isn't a self signed certificate. When I run the command apachectl -V this is the result I get.

user@hostname: /etc/apache2# apachectl -V | grep SERVER_CONFIG_FILE
-D SERVER_CONFIG_FILE="apache2.conf"

user@hostname:/etc/apache2# ls -l /etc/apache2/apache2.conf

-rw-r--r-- 1 root root 8346 Feb 6 2012 /etc/apache2/apache2.conf

Any assistance would be greatly appreciated.

Thank you,


acid_kewpie 06-04-2013 04:33 PM

ok, well showing us that apache output really doesn't help with anything. What stage are you at then, and what do you want? If you're getting a signed cert from a registrar then there are hundreds of documents out there telling you exactly how to do this. e.g. as a good enough starting point.

jim.isom 06-04-2013 04:37 PM


I am working on a CentOS 6.4 server and I am getting a signed cert from a registrar and I am looking for the documentation to set it up on the server. I have found a lot of sites but haven't had any luck with one for CentOS with Apache2.

Thank you.

acid_kewpie 06-04-2013 04:53 PM

really? SSL on an EL6 platform is probably THE most common scenario.. google gives page after page of hits...

what are you specifically having trouble with? All you need to do for the certificate itself is reference the key and cert files in the appropriate SSL enabled virtualhost.

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