Social Media Magazine

Enable “Allow Invalid Certificates for Resources Loaded from Localhost” Flag in Chrome v81

Posted on the 05 May 2020 by Viney Dhiman @vineydhiman

Enable “Allow invalid certificates for resources loaded from localhost” flag in Chrome. Want to know why? Keep reading the blog post.

If you’re a developer and test websites offline, then you might have noticed an error message “Your connection is not private” in Chrome browser. If you have made so far, then chances you also seeing a same error message.

Normally this error flash up when because of two reasons: first it’s a client-side issue and second there’s problem with website certificate. Since you’re testing offline with Chrome browser it’s possible to get rid of this error message using an “allow-insecure-localhost” experimental feature available in the Chrome browser.

Allow invalid certificates for resources loaded from localhost

Here’s how you can enable the above discussed experimental feature and get rid of “Your connection is not private” in Chrome for local host.

Launch Chrome browser and then visit: chrome://flags/#allow-insecure-localhost

Using “Allow invalid certificates for resources loaded from localhost” drop-down change the setting from Disabled to Enabled.

Enable “Allow invalid certificates for resources loaded from localhost” flag in Chrome v81

Relaunch Chrome browser to enable the feature.

Doing this will “Allow insecure connections on localhost in Chrome” and fix the issue.


Back to Featured Articles on Logo Paperblog