[Google Chrome Developer Tip] Prevent Warning “Your connection is not private” from appearing

by | 28 Aug 2020 | Browser, Google Chrome, Programming, Technology | 0 comments

This is probably more applicable to web developers. Many times when we try to run a localhost site with https in our local environment to emulate the production environment as close as possible, we will always run into a Google Chrome warning message “Your connection is not private”. This article aims to make your live a little bit easier by disabling that warning prompt from Google Chrome.

This above image is some you would have seen pretty often if this article relevant to you.

Typically you will have to click on “Advanced” button, then click on “Proceed to localhost (unsafe)” link, in order to bypass the warning.

Solution: Using chrome://flags

1. Open a new tab in your Google Chrome browser

Enter “chrome://flags” into the address bar of the new Google Chrome browser tab and hit enter. Then you should be seeing something like the following:

2. Search for “non-secure” option

Look for the search field with the placeholder text “Search flags” just right below the address bar.

Enter “non-secure” into that search field.

Then you should see the following:

3. Change “Default” to “Disabled”

Look for a drop down list at the right most of the entry “Mark non-secure origins as non-secure”. Click on that and select “Disabled”.

And once you see the following, then you are all set!

4. Search for “Allow invalid certificates for resources loaded from localhost” option

Then you should see the following

Change selection to “Disabled”

Finally relaunch your browser and you are done.

Congratulations! You have just improved your development experience by a small little bit.


Submit a Comment

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

Related Posts

AppleiOSMobile PhonesObjective-CProgrammingSwiftTechnology
How to install Cocoapods for Objective-C/Swift development on Mac OS?

How to install Cocoapods for Objective-C/Swift development on Mac OS?

Steps to install Cocoapods Cocoapods is used in Xcode IDE for development from iOS apps using Objective-C/Swift. Cocoapods helps developers add external libraries to their iOS project easily. The following tutorial guides you on the steps to install Cocoapods on...

AndroidAndroidAppleiOSJavaMobile PhonesObjective-CProgramming
iPhone Camera
Complete overview of the mobile app development process (Infographic)

Complete overview of the mobile app development process (Infographic)

Clients always have the misperception that developing a mobile app is as easy as developing a mobile application would be a walk in a park without much effort involved. The following infographic pretty much sums up the total cost and effort for mobile app...