windows + phpstudy集成环境 + apache + 腾讯云ssl免费证书
按腾讯云的教程配置后,重启apache,apache无法重新。
碰到的问题1:
443端口被svnserver占用,修改svnserver使用端口,可自己手动修改;
问题2:
httpd-ssl.conf问题,找了很多,还是不想。直到我使用了下面的这个配置,突然成功。原因,抱歉,我解释不来!
#C:\dncx.com\src
#https://dncx.zuhaoche.cn/
#C:\a\Apache\conf\ssl\1_root_bundle.crt
#C:\a\Apache\conf\ssl\2_dncx.zuhaoche.cn.crt
#C:\a\Apache\conf\ssl\3_dncx.zuhaoche.cn.key
Listen 443
<VirtualHost *:443>
DocumentRoot "C:\dncx.com\src"
ServerName dncx.zuhaoche.cn
ServerAlias zuhaoche.cn
SSLEngine on
SSLProtocol TLSv1 TLSv1.1 TLSv1.2
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
SSLCertificateFile "C:\a\Apache\conf\ssl\2_dncx.zuhaoche.cn.crt"
SSLCertificateKeyFile "C:\a\Apache\conf\ssl\3_dncx.zuhaoche.cn.key"
SSLCertificateChainFile "C:\a\Apache\conf\ssl\1_root_bundle.crt"
<Directory "C:\dncx.com\src">
Options +Indexes +FollowSymLinks +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>