【证书安装】
编辑Apache根目录下 conf/httpd.conf 文件,
找到 #LoadModule ssl_module modules/mod_ssl.so
和 #Include conf/extra/httpd-ssl.conf
,去掉前面的#
号注释;
编辑Apache根目录下 conf/extra/httpd-ssl.conf 文件,修改如下内容:
Listen 443 <VirtualHost 0.0.0.0:443> DocumentRoot "C:/xampp/htdocs" SSLEngine on ServerName www.***.cn:443 SSLCertificateFile "C:/xampp/apache/conf/2_www.***.cn.crt" SSLCertificateKeyFile "C:/xampp/apache/conf/3_www.***.cn.key" SSLCertificateChainFile "C:/xampp/apache/conf/1_root_bundle.crt" </VirtualHost>
https://www.cnblogs.com/phper12580/p/8777748.html