LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CentOS 6.4 setup SSL certificate for apache2 (https://www.linuxquestions.org/questions/linux-newbie-8/centos-6-4-setup-ssl-certificate-for-apache2-4175464728/)

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

CentOS 6.4 setup SSL certificate for apache2
 
Guys,

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,

Jim

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. http://www.digicert.com/csr-creation-apache.htm as a good enough starting point.

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

Chris,

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... https://www.google.co.uk/search?q=centos+apache+ssl

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.