centos7.2下apache实现https

申请证书,在腾讯云上申请

https://www.qcloud.com/document/product/214/6989

1. Apache 2.x证书部署

http://www.iyunv.com/thread-84322-1-1.html  Centos7下Apache详细安装配置及证书

申请SSL配置介绍

进入apache的配置文件中

Vim /etc/httpd/conf/httpd.conf

 

vim /etc/httpd/conf.modules.d/00-ssl.conf 确认是否有ssl.so的模块

centos7.2中没有ssl.so模块,安装yum list all mod_ssl 查看mod_ssl的安装包信息

rpm -qc mod_ssl    查看mod_ssl的配置文件存放的位置

Vim /etc/httpd/conf.d/ssl.conf  配置证书

 

评论

暂无评论