https简介
搭建https安全传输网站
[root@apache-server ~]# yum install mod_ssl.x86_64 crypto-utils.x86_64 -y
[root@apache-server ~]# genkey www.westos.com
执行上述命令会进入到图形界面制作密钥
[root@apache-server ~]# vim /etc/httpd/conf.d/ssl.conf
100 SSLCertificateFile /etc/pki/tls/certs/www.westos.com.crt
107 SSLCertificateKeyFile /etc/pki/tls/private/www.westos.com.key
[root@apache-server ~]# systemctl restart httpd.service