Конфигурация httpd для SSL
Версия от 16:36, 3 июня 2015; Sol (обсуждение | вклад)
[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 the server name ServerName www.server.world:443 # line 105: change to the one created in [1] SSLCertificateFile /etc/pki/tls/certs/server.crt # line 112: change to the one created in [1] SSLCertificateKeyFile /etc/pki/tls/certs/server.key [root@www ~]# /etc/rc.d/init.d/httpd restart Stopping httpd: [ OK ] Starting httpd: [ OK ]