# Work with "unsafe" HTTPS on localhost in Chrome

> When you need to accept self-signed certificates in Chrome, sometimes you need to play around with chrome://flags.

- URL: https://graffino.com/til/work-with-unsafe-https-connections-on-localhost-in-chrome
- Author: Zeno Popovici
- Channel: sysops
- Published: 2018-06-08
- Updated: 2025-08-14

If you work with HTTPS connections on your localhost development environment, you will often get an un-secure notification from Chrome, and this will be getting annoying.

To disable those notifications in Chrome type this in your address bar:  


``chrome://flags/``


search for: 

``
Allow invalid certificates for resources loaded from localhost.
``

and click on "Enable". Done!

**As a precaution**: You should use separate browsers for personal use and another for development. I do development in Chromium and my regular browsing in Safari.
