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

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.

Relaunch Chrome browser to enable the feature.

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

If you find this blog post useful, please share it on Twitter and Facebook. A quick share will help in growth of this blog. It hardly takes 10 seconds, isn't it?

Follow us on Telegram | Facebook | Twitter

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.