<button id="qvlbh"><button id="qvlbh"></button></button>
<xmp id="qvlbh"><xmp id="qvlbh"><xmp id="qvlbh"><address id="qvlbh"><output id="qvlbh"></output></address>
<xmp id="qvlbh"><legend id="qvlbh"></legend>
<xmp id="qvlbh"> <address id="qvlbh"><output id="qvlbh"></output></address>
<address id="qvlbh"><button id="qvlbh"></button></address>
<button id="qvlbh"><samp id="qvlbh"></samp></button>
<address id="qvlbh"><button id="qvlbh"></button></address><address id="qvlbh"></address>
<address id="qvlbh"><legend id="qvlbh"></legend></address>
<samp id="qvlbh"><xmp id="qvlbh"><legend id="qvlbh"></legend>
中國站
幫助中心 > 安全 > SSL安全證書(shū) > 證書(shū)安裝 > phpStudy環(huán)境如何安裝SSL證書(shū)?

phpStudy環(huán)境如何安裝SSL證書(shū)?

第一步:修改apache目錄下的httpd.conf配置文件

  1. #LoadModule ssl_module modules/mod_ssl.so刪除行首的配置語(yǔ)句注釋符號“#”
  2. 增加一條引用語(yǔ)句 Include conf/vhost-ssl.conf

第二步:
1、在conf文件夾中創(chuàng )建一個(gè)vhost-ssl.conf配置文件。

2、編輯vhost-ssl.conf文件,增加如下內容:

  1. Listen 443
  2. SSLEngine on
  3. SSLProtocol all -SSLv2 -SSLv3
  4. SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
  5. SSLCertificateFile D:\phpStudy\Apache\conf\ssl\www.22.cn.crt //服務(wù)器證書(shū)
  6. SSLCertificateKeyFile D:\phpStudy\Apache\conf\ssl\private.key //證書(shū)私鑰
  7. SSLCertificateChainFile D:\phpStudy\Apache\conf\ssl\ca.crt //根證書(shū)
  8. DocumentRoot D:\phpStudy\WWW
  9. Options +Indexes +FollowSymLinks +ExecCGI
  10. AllowOverride All
  11. Order allow,deny
  12. Allow from all
  13. Require all granted

3.phpstudy配置指定路徑訪(fǎng)問(wèn)https(僅供參考)。

  1. RewriteEngine on
  2. RewriteCond %{REQUEST_URI} /homework
  3. RewriteRule^(.*)?$ https://%{SERVER_NAME}$1[L,R]

4、保存退出,并重啟Apache, 若有報錯或者無(wú)法正常啟動(dòng),請看錯誤日志。

国产精品香港三级|日韩精品无码免费专区网站|熟女一区二区三区|一本伊大人香蕉久久网|jzzijzzij亚洲乱熟无码
<button id="qvlbh"><button id="qvlbh"></button></button>
<xmp id="qvlbh"><xmp id="qvlbh"><xmp id="qvlbh"><address id="qvlbh"><output id="qvlbh"></output></address>
<xmp id="qvlbh"><legend id="qvlbh"></legend>
<xmp id="qvlbh"> <address id="qvlbh"><output id="qvlbh"></output></address>
<address id="qvlbh"><button id="qvlbh"></button></address>
<button id="qvlbh"><samp id="qvlbh"></samp></button>
<address id="qvlbh"><button id="qvlbh"></button></address><address id="qvlbh"></address>
<address id="qvlbh"><legend id="qvlbh"></legend></address>
<samp id="qvlbh"><xmp id="qvlbh"><legend id="qvlbh"></legend>