forwampserver或phpstudy腾讯云免费SSL证书如果目录对你有用,请点个赞1.下载证书解压复制Apache文件夹。2、打开httpd.ini配置文件LoadModulessl_modulemodules/mod_ssl.so去掉这一行注释中的“#”Includeextra/httpd-ssl.conf去掉这一行注释中的“#”ps:if没有,加3.下一步:把extra/httpd-ssl.conf文件ServerName改成你网站域名,不带端口号DocumentRoot改成网站路径(注意:windows系统目录是反斜杠)SSLCertificateFile是改为server.crt文件路径,公钥(这里是带斜杠/的相对目录)SSLCertificateKeyFile改为server.key文件路径,私钥SSLCertificateChainFile后面改为ca.crt文件路径,简单例子ofrootcertificateListen443SSLPassPhraseDialogbuiltinSSLSessionCache"shmcb:/Apache24/logs/ssl_scache(512000)"SSLSessionCacheTimeout300
