欧美日韩一二三_日本午夜网_在线免费国产_国产精品久久久久久吹潮_免费成人在线网站_99国产视频

我們只做一件事,只為您滿意--山東微道商網(wǎng)絡(luò)技術(shù)有限公司
當(dāng)前位置:主頁 -> 新聞中心 > 行業(yè)資訊

服務(wù)器啟用HSTS協(xié)議怎么使用?

來源:http://www.sun2007.cn/ 發(fā)布時(shí)間:2021-12-16

采用HSTS協(xié)議的網(wǎng)站將保證瀏覽器始終連接到該網(wǎng)站的HTTPS加密版本,不需要用戶手動在URL地址欄中輸入加密地址。該協(xié)議將幫助網(wǎng)站采用全局加密,用戶看到的就是該網(wǎng)站的安全版本。HSTS的作用是強(qiáng)制客戶端(如瀏覽器)使用HTTPS與服務(wù)器創(chuàng)建連接。
Websites using HSTs protocol will ensure that the browser is always connected to the HTTPS encrypted version of the website, and users do not need to manually enter the encrypted address in the URL address bar. The protocol will help the website adopt global encryption, and what users see is the secure version of the website. The role of HSTs is to force clients (such as browsers) to create a connection with the server using HTTPS.
服務(wù)器開啟HSTS的方法是,當(dāng)客戶端通過HTTPS發(fā)出請求時(shí),在服務(wù)器返回的超文本傳輸協(xié)議響應(yīng)頭中包含Strict-Transport-Security字段。非加密傳輸時(shí)設(shè)置的HSTS字段無效。
The server enables HSTs by including the strict transport security field in the hypertext transport protocol response header returned by the server when the client sends a request through HTTPS. Invalid HSTs field set for non encrypted transmission.
但有一點(diǎn)需要注意,Strict-Transport-Security中的max-age的時(shí)間不能小于15552000。
濟(jì)南網(wǎng)站制作
However, it should be noted that the time of Max age in strict transport security cannot be less than 15552000.
對于Windows server服務(wù)器,打開網(wǎng)站目錄下的 web.config 這個(gè)文件,在相應(yīng)的位置添加上針對 https 響應(yīng)的 url 重寫規(guī)則(黑體部分),并保存。
For a Windows server server, open the web.com under the web site directory Config file, Add URL rewriting rules for HTTPS response (in BOLD) at the corresponding location, and save it.
開啟了HSTS后,你部署SSL/TLS的服務(wù)檢測得分就可能是A+以上了。這時(shí)候就可以加入HSTS Preload List。
After HSTs is enabled, your service detection score for deploying SSL / TLS may be above a +. At this time, you can add HSTs preload list.
HSTS preload list是Chrome瀏覽器中的HSTS預(yù)載入列表,在該列表中的網(wǎng)站,使用Chrome瀏覽器訪問時(shí),會自動轉(zhuǎn)換成HTTPS。Firefox、Safari、Edge瀏覽器也在采用這個(gè)列表。
HSTs preload list is the HSTs preload list in Chrome browser. Websites in this list will be automatically converted to HTTPS when accessed with Chrome browser. Firefox, Safari and edge browsers are also using this list.
進(jìn)入hstspreload官網(wǎng),輸入你的域名,然后檢測結(jié)果會告訴是否符合加入HSTS Preload List,沒有問題的話勾選確定。
Enter the hstspreload official website, enter your domain name, and then the test results will tell whether it is qualified to join the HSTs preload list. If there is no problem, check OK.
當(dāng)然,加入到了HSTS Preload List后,你可能還需要等待1-2月,待新版本的Chrome和Chromium、Firefox、IE等發(fā)布后,你的域名算是正式被各大瀏覽器承認(rèn)并強(qiáng)制使用Https訪問了。
Of course, after joining the HSTs preload list, you may have to wait from January to February. After the release of the new version of chrome, chromium, Firefox and ie, your domain name is officially recognized by major browsers and accessed by HTTPS.
相關(guān)文章
相關(guān)推薦
?
主站蜘蛛池模板: 日韩精品在线观看网站 | 成人网址在线观看 | 日韩1区| 国产精品mv在线观看 | 97精品超碰一区二区三区 | 亚洲综合在线视频 | 久久精品视频99 | 精品免费国产一区二区三区 | 免费网站国产 | 国产视频观看 | 成人一区二区三区在线观看 | 岛国毛片在线观看 | 天天久久 | 99riav国产一区二区三区 | 日日摸天天添天天添破 | 欧美激情综合色综合啪啪五月 | 国产一区亚洲 | 成人福利电影 | 男人的天堂一级片 | 亚洲综合视频一区 | 欧美日韩电影一区二区 | 亚洲高清av在线 | 在线婷婷 | 中文字幕日韩一区 | 国产色婷婷精品综合在线播放 | 蜜桃日韩 | 国产精品国产精品国产专区不蜜 | 欧美日韩专区 | 中文字幕国产精品视频 | 一区二区三区视频在线免费观看 | 久久久久国色av免费观看性色 | www.亚洲精品| 瑟瑟激情 | 亚洲久视频 | 国产精品美女久久久久aⅴ国产馆 | 日韩国产精品一区二区三区 | 91精品久久久久久久久久入口 | 国产精品精品久久久 | 国产1区 | 日韩精品在线一区 | 婷婷综合网 |