Your connection is not private | 您的连接不是私密连接的解决办法

随着 Chrome 的升级会推荐使用 https 的模式开发,当我们使用 https 的模式进行开发时让然会出现以下提示:

我们发现点击高级仍旧无法找到可以访问的方式(已经将域名屏蔽)

解决办法

原来在 Chrome 会对HSTS进行检查,但是也增加了一个 hack 来承认有风险的情况下访问网页,那就是输入thisisunsafe。不用管,直接在页面输入,而不是在地址栏,直接输入这一句就可以了。

源代码

Chrome 相关的的源代码地址


也不用管大小写,直接输入就是了。

参考

https://dev.to/gautamkrishnar/quickbits-1-skipping-the-chrome-your-connection-is-not-private-warning-4kp1
https://stackoverflow.com/questions/35274659/does-using-badidea-or-thisisunsafe-to-bypass-a-chrome-certificate-hsts-error
https://chromium.googlesource.com/chromium/src/+/master/components/security_interstitials/core/browser/resources/interstitial_large.js

使用搜索:谷歌必应百度