Chrome://flags/#allow-insecure-localhost Patched Jun 2026
chrome://flags/#allow-insecure-localhost
When you develop locally using HTTPS (which is increasingly necessary for testing features like Service Workers, Geolocation, or Powerful APIs), your local server usually provides a "self-signed" certificate. Because this certificate isn't issued by a trusted Certificate Authority (CA), Chrome blocks it by default to protect you. Enabling this flag allows Chrome to treat these local self-signed certificates as valid. Why Use This Flag? chrome://flags/#allow-insecure-localhost
: This flag only affects localhost (and sometimes 127.0.0.1 ). It does not lower your security settings for the rest of the internet. or Powerful APIs)
Just remember to when you’re done testing, or at least be aware it’s active. follow these steps:
To test this feature, follow these steps: