Enable or Disable HTTPS-only Mode in Firefox

How to Enable or Disable HTTPS-only Mode in Mozilla Firefox

Mozilla has introduced a new option in the Nightly version of the browser. When enabled, it only allows opening websites over the HTTPS, refusing connections to the plain unencrypted HTTP.


WIth the new option, Firefox enforces all websites and their resources to go through HTTPS. When the secure connection can't be established, e.g. a website doesn't have an HTTPS version, Firefox refuses to load it, instead showing a warning page which looks like follows:

Firefox HTTPS Only Browsing Mode Warning

The user can 'Accept the risk and continue', or go back and do not proceed to the insecure web site. However, if a website has an HTTPS mirror with resources embedded via HTTP, those resources won't be loaded silently, without warnings. The page may appear broken.

So, if you are going to try the new feature, you need to get Firefox Nightly. As of now, the Nightly channel of the browser represents Firefox 80.

To Enable or Disable HTTPS-only Mode in Mozilla Firefox,

  1. Open the Firefox browser.
  2. Open the menu (Alt + F), and click on Options.Firefox Menu Options Items
  3. In options, click on Privacy and security.
  4. On the right side, scroll down to the HTTPS-only mode under Security.Firefox HTTPS Only Options
  5. Select (dot) Enable HTTPS-only mode in all windows to turn on the feature for all browser windows.
  6. Select (dot) Enable HTTPS-only mode in private windows only to turn on the restriction for the private browsing. Regular windows won't be affected.
  7. Finally, it is disabled by default in Firefox Nighty 80, and set to Don't enable HTTPS-only mode

You are done. The feature is currently available in Nighly Firefox version 80. In a few months it should reach the stable version of the Firefox browser.

Mozilla is constantly making improvements for Nightly users. Recently, the company has added a useful Nightly Experiments page, and the ability to clear the Startup cache to resolve the startup issues in Firefox.


2 thoughts on “Enable or Disable HTTPS-only Mode in Firefox

  1. Zero

    In Firexox 78 you can activate it through advanced preferences “dom.security.https_only_mode” to true.

    Take this opportunity to ask if there is something similar in Edge Chromium?

  2. Rod

    This is causing a problem, and now brings up the warning for every site, including those with https!


Leave a Reply

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