Chrome 88 的本地主机证书无效

问题描述

我在本地主机上有一个 spring boot 应用程序,当我尝试在 Chrome 88 上访问它时,它显示以下错误

You cannot visit localhost right Now because the website sent scrambled credentials that Google Chrome cannot process. Network errors and attacks are usually temporary,so this page will probably work later.

我找到了这篇文章SSL Localhost Privacy error,但似乎在 Chrome 88 中 Allow insecure localhost 选项不再可用。我可以使用该帖子上的另一个答案,即输入 thisisunsafe 并点击 Enter

是否有另一种方法可以解决此问题,而不必为每个本地主机站点都键入 thisisunsafe

解决方法

作为临时修复,您可以打开 chrome://flags/#temporary-unexpire-flags-m87,然后您可以再次打开 chrome://flags/#allow-insecure-localhost。