[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.

0 Comments

Submit a Comment

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

Related Posts

AndroidAppleBrowserGoogle ChromeInternet ExplorerLinuxMicrosoft EdgeMobile PhonesMozilla FirefoxOSSafariTechnology
How to do a hard refresh for Chrome, Safari, Firefox, Internet Explorer or Edge in Windows & Mac?

How to do a hard refresh for Chrome, Safari, Firefox, Internet Explorer or Edge in Windows & Mac?

Browser Hard Refresh in Google Chrome, Safari, Mozilla Firefox, Internet Explorer and Microsoft Edge Sometimes just by refreshing your browser alone doesn't help in letting you see the latest changes of a website. Any web developers will know this best. So below...

Amazon Web Services (AWS)Elastic BeanstalkServer
Unable to delete AWS Elastic Beanstalk Environment "resource XX-XXXXXXX has a dependent object" - MervCodes
Unable to delete AWS Elastic Beanstalk Environment “resource XX-XXXXXXX has a dependent object”

Unable to delete AWS Elastic Beanstalk Environment “resource XX-XXXXXXX has a dependent object”

Unable to delete AWS Elastic Beanstalk Environment "resource XX-XXXXXXX has a dependent object" Problem You will usually get this error when you are trying to delete an Elastic Beanstalk environment. Solution As the message in the Events log states, the security...

DatabaseMagentoMySQLOpen SourcePHPPhpMyAdminTechnology
Magento 1.9 Fix for Sending Double Emails or Sending Email to Wrong Recipients

Magento 1.9 Fix for Sending Double Emails or Sending Email to Wrong Recipients

As we know, Magento uses a cron job system to send out email from core_email_queue table. There is an additional table called core_email_queue_recipients, which as the name states, will store all recipients for emails there. But these records do not get removed at...

ApacheCentOSLinuxOSServerTechnology
How to Setup Let's Encrypt FREE SSL Certificate on Centos 6 Apache using Certbot? | MervCodes
How to Setup Let’s Encrypt FREE SSL Certificate on Centos 6 Apache using Certbot?

How to Setup Let’s Encrypt FREE SSL Certificate on Centos 6 Apache using Certbot?

Having SSL on your website these days is important especially if you want your website to rank better on Google search, and that's when Let's Encrypt come into the picture. Let's Encrypt is a free, automated, and open certificate authority (CA), run for the...

Amazon Web Services (AWS)ApacheCentOSDatabaseLinuxMySQLOSProgrammingServerTechnology
8 Simple Steps to Setup a Web Server with Apache Virtual Hosts & MySQL in Centos

8 Simple Steps to Setup a Web Server with Apache Virtual Hosts & MySQL in Centos

This tutorial will be guiding you in setting up a web server with pre-installed Centos. In summary, you will be installing Apache and MySQL, and learning how to configure virtual hosts in Apache. Note: before proceeding with this tutorial. Make sure you figure out...