How to disable Firefox: “Warning: Potential Security Risk Ahead” forever

Alper Ebiçoğlu
Volosoft
Published in
Apr 17, 2020

If you are developing websites with local signed SSL certificates, each time you change the port, Firefox shows the below alert:

You can accept the risk and go on… But I hate to do this every time my port number changes. I tried several configs to turn this thing to completely off. Here’s how I achieved this.

Turn off / Disable Firefox “Warning: Potential Security Risk Ahead”

  1. Type about:config in the address bar and press Enter.
    A warning page may appear. Click Accept the Risk and Continue.
  2. Change the following settings:
security.insecure_field_warning.contextual.enabled = falsesecurity.certerrors.permanentOverride = falsenetwork.stricttransportsecurity.preloadlist = falsesecurity.enterprise_roots.enabled = true

3. Restart the Firefox to apply changes.

You’ll not see that warning anymore!

Happy coding ;)

--

--