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.

allow insecure localhost

Relaunch Chrome browser to enable the feature.

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

0 0
0Shares

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

  1. I didn’t found any “Allow invalid certificates for resources loaded from localhost” in my Chrome Version-88.0.4324.104 (Official Build) (64-bit)
    is there any option to get that

  2. I didn’t found any “Allow invalid certificates for resources loaded from localhost” in my Chrome Version-88.0.4324.104 (Official Build)

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.