xampp的MySQL启动不了 (xampp - xampp怎样性能ssl)

文章编号:7874 更新时间:2024-02-16 分类:互联网资讯 阅读次数:

资讯内容

xampp性能ssl的示例:

1.下载并解压ssl证书,例如

root_bundle.crt 根证书链

domainname.com.crt 公钥

domainname.com.key 私钥

2.把放开的3.SSL证书性能文件放到D:\xampp\apache\conf\ssl目录下。

3.性能Apache下D:\xampp\apache\conf\httpd.conf文件,将以下两行代码前面的#注释符去掉。

#LoadModule ssl_module modules/mod_ssl.so

#Include conf/extra/httpd-ssl.conf

4.性能D:\xampp\apache\conf\extra\httpd-ssl.conf文件,将对应的文件修正好,例如:

SSLCertificateFile “conf/ssl.crt/server.crt”

SSLCertificateKeyFile “conf/ssl.key/server.key”

SSLCertificateChainFile “c:/Apache24/conf/server-ca.crt”

DocumentRoot “D:/www”

ServerName www.example.cn:443

改成:

SSLCertificateFile “conf/ssl/domainname.com.crt” //你的公钥文件门路

SSLCertificateKeyFile “conf/ssl/domainname.com.key” //你的私钥文件门路

SSLCertificateChainFile “conf/ssl/root_bundle.crt” //你的根证书链文件门路

DocumentRoot “D:/www” //你的网站目录

ServerName 你的域名:443 //域名地址

5.保留性能,重启apache服务便可。

介绍阅读:

xampp的MySQL启动不了xampp

标签: SSLxampp

本文地址: https://yihaiquanyi.com/article/fdfb1a686714fb8983be.html

上一篇:翔云网络怎样注册账号翔云网络怎样样?香港...
下一篇:阿里云主机租用价格阿里云主机租什么物品样...

发表评论