LINUX How to configure of ssl
Configure httpd for ssl
[root@www ~]#/etc/rc.d/init.d/httpd restart
Stopping httpd:[ OK ]
Starting httpd:[ OK ]
[root@www ~]#yum -y install mod_ssl
[root@www ~]#vi /etc/httpd/conf.d/ssl.conf
# line 77: uncomment
DocumentRoot "/var/www/html"
# line 78: uncomment and specify server name
ServerName www.my-server.com:443
# line 105: specify certificate
SSLCertificateFile /etc/pki/tls/certs/server.crt
# line 112: specify certification key
SSLCertificateKeyFile /etc/pki/tls/certs/server.key
Stopping httpd:[ OK ]
Starting httpd:[ OK ]
Comments
Post a Comment