SSL是是為網(wǎng)絡(luò)通信提供安全及數(shù)據(jù)完整性的一種安全協(xié)議,可以加密數(shù)據(jù)防止數(shù)據(jù)被中途竊取,維護(hù)數(shù)據(jù)的完整性。具體配置方式和石家莊網(wǎng)站小編一下來看看吧!
一、圖片上傳路徑修改位置(asp新系統(tǒng))
1、百度編輯器中的位置:
位置:/admin/system/ks.upfileform.asp 連的第73行 將 Dim Path:Path = KS.GetUpFilesDir() & "/" 改成Dim Path:Path ="/"
2、圖片地址(photourl)
位置:/admin/include/swfupload.asp 里面的底83行將 If KS.Setting(97)=1 Then FormPath=KS.Setting(2) & FormPath 改成 If KS.Setting(97)=1 Then FormPath= FormPath
二、SSL證書相關(guān)配置
1、SSL證書配置
證書生成地址:https://freessl.cn
證書獲取地址:https://www.myssl.cn/tools/merge-pfx-cert.html
2、IIS7配置(綁定)
?、?、在根節(jié)點(diǎn)導(dǎo)入證書
②、編輯站點(diǎn)綁定443端口(此版本不可以直接綁定多域域名 win 2008R2)
③、到C:\Windows\System32\inetsrv\config 修改applicationHost.config
將443后加上域名
.png)
?、?、重啟站點(diǎn)即可
3、IIS8配置(綁定)
?、?、在根節(jié)點(diǎn)導(dǎo)入證書
②、編輯站點(diǎn)綁定443端口(此版本可以直接綁定多域域名,不需要做其他處理)
4、不安全處理
iis7存在不安全問題,主要是因為協(xié)議未開啟,使用軟件ssltools,開啟端口,重啟服務(wù)器即可

參考鏈接:https://blog.csdn.net/yuanyuanna/article/details/115323432
5、默認(rèn)跳轉(zhuǎn)到https處理(iis配置 重寫規(guī)則、301)
默認(rèn)跳轉(zhuǎn)https 首先如果沒有做301,則直接在站點(diǎn)上配置url重寫
如果是有301的網(wǎng)站,需要先在301站點(diǎn)做url重寫,再處理主站點(diǎn)下做url重寫
①、主站點(diǎn)下url重寫
<rewrite>
<rules>
<rule name="Redirect to https" stopProcessing="true">
<match url="^(.*)" />
<conditions>
<add input="{HTTPS}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" />
</rule>
</rules>
</rewrite>
.png)
?、?、301站點(diǎn)的url重寫
<httpRedirect enabled="false" destination="
<rewrite>
<rules>
<rule name="301" stopProcessing="true">
<match url="^(.*)" />
<conditions>
<add input="{HTTP_HOST}" pattern="^(.*)" />
</conditions>
<action type="Redirect" url="
</rule>
</rules>
</rewrite>

三、各個平臺服務(wù)器相關(guān)問題
1、西部數(shù)碼
服務(wù)器上,每次增加一個域名,需要到平臺上加一下白名單