Z Zidan86 New Member Joined Jul 8, 2018 Messages 5 Reaction score 0 Credits 0 Jul 8, 2018 #1 Hiii , how to configure ssl in Centos 5.9 ,, the type server is apache of LAMP ???
wizardfromoz Administrator Staff member Gold Supporter Joined Apr 30, 2017 Messages 10,754 Reaction score 9,655 Credits 50,822 Jul 9, 2018 #2 Hi @Zidan86 and welcome to linux.org I don't use CentOS currently, but some of our other Members do, including our Admin. I expect someone will be along with ideas shortly. Cheers and good luck Chris Turner wizardfromoz
Hi @Zidan86 and welcome to linux.org I don't use CentOS currently, but some of our other Members do, including our Admin. I expect someone will be along with ideas shortly. Cheers and good luck Chris Turner wizardfromoz
H HostechSupport New Member Joined Sep 17, 2018 Messages 13 Reaction score 4 Credits 0 Nov 8, 2018 #3 Following are the steps to configure ssl in CentOS 1. Make sure that mod_ssl is installed. # rpm -qa | grep mod_ssl 2. If mod_ssl package is not installed, install it using yum utility : # yum install mod_ssl Edit SSL Certificate And Keys through configurations 1. Edit file /etc/httpd/conf.d/ssl.conf with the filenames of the server name and SSL Certificate information. The edited entries are a. ServerName b. SSLCertificateFile c. SSLCertificateKeyFile # vi /etc/httpd/conf.d/ssl.conf # ServerName www.example.com:443 SSLCertificateFile /etc/pki/tls/certs/localhost.crt SSLCertificateKeyFile /etc/pki/tls/private/localhost.key – The ServerName must match the Common Name (CN) of the SSL certificate # openssl x509 -noout -text -in localhost.crt | grep CN[/code]
Following are the steps to configure ssl in CentOS 1. Make sure that mod_ssl is installed. # rpm -qa | grep mod_ssl 2. If mod_ssl package is not installed, install it using yum utility : # yum install mod_ssl Edit SSL Certificate And Keys through configurations 1. Edit file /etc/httpd/conf.d/ssl.conf with the filenames of the server name and SSL Certificate information. The edited entries are a. ServerName b. SSLCertificateFile c. SSLCertificateKeyFile # vi /etc/httpd/conf.d/ssl.conf # ServerName www.example.com:443 SSLCertificateFile /etc/pki/tls/certs/localhost.crt SSLCertificateKeyFile /etc/pki/tls/private/localhost.key – The ServerName must match the Common Name (CN) of the SSL certificate # openssl x509 -noout -text -in localhost.crt | grep CN[/code]