一、準備好服務器的私鑰和證書
二、安裝mod_ssl模塊:
三、編輯配置文件:
[root@www ssl]# vim /etc/httpd/conf.d/ssl.conf
四、重啓httpd服務並查看是否監聽443端口:
[root@www ssl]# service httpd restart
[root@www ssl]# ss -tnl
五、測試:
[root@www ~]# openssl s_client -connect 192.168.88.132:443 -CAfile /etc/pki/CA/cacert.pem