Post

Bypass Chrome SSL warnings in local dev

If you’re developing a site locally, your URL is not localhost, and you don’t have an SSL certificate set up, you’ve probably run into Chrome’s warning about your connection to the site being insecure.

As a quick workaround, you can click “Proceed” and then type thisisunsafe.

If you’re going to be working with the URL regularly and can’t or don’t want to set up an SSL certificate, you can permanently add the domain to Chrome’s flags by going to the following feature flag page in Chrome and adding the domain to the “Insecure origins treated as secure” list and enabling that flag.

1
chrome://flags/#unsafely-treat-insecure-origin-as-secure

More info in this Cybercafe article. Be careful with this setting—only use it for local dev.

This post is licensed under CC BY 4.0 by the author.