XAMPP配置ssl
在/opt/lampp/etc/extra下 httpd-ssl.conf 文件
ServerAdmin webmaster@dummy-host2.example.com
DocumentRoot "/opt/lampp/htdocs/Public"
ServerName xxx.com
ErrorLog "logs/dummy-host2.example.com-error_log"
CustomLog "logs/dummy-host2.example.com-access_log" common
# 添加 SSL 协议支持协议,去掉不安全的协议
SSLProtocol all -SSLv2 -SSLv3
# 修改加密套件如下
SSLCipherSuite HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUM
SSLHonorCipherOrder on
# 证书公钥配置
SSLCertificateFile /opt/lampp/cert/public.pem
# 证书私钥配置
SSLCertificateKeyFile /opt/lampp/cert/214************.key
# 证书链配置,如果该属性开头有 '#'字符,请删除掉
SSLCertificateChainFile /opt/lampp/cert/chain.pem