This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firfox is enforcing https on web pages hosted on Ubuntu server running on Virtual Box in local machine; how to disable it?

  • 3 ŋuɖoɖowo
  • 1 masɔmasɔ sia le esi
  • 6 views
  • Nuɖoɖo mlɔetɔ cor-el

more options

My host machine is Mac (OS X EI Capitan Version 10.11.6). On top of it I am running Virtual Box (5.2.6). Within Virtual Box I have Ubuntu Machine with Apache2 running. I am running a development domain sandbox.dev:8080. I use this setup for testing purposes. I have my test projects stored in a shared folder between the host and guest machines. All the setup was up and running with FireFox and Safari whether I wanted to use http or https for test purposes (And the setup is still running in Safari) until I got an extension Cookie Editor for FireFox and along withit my FireFox got updates. After that firefox started behaving strangely! 1- It is trying to enforce https on all the pages on the Ubuntu VM 2- It is allowing http on real website (This I tested by removing SSL Certificate from one of my websites)

I have tried some solutions like clearing history, about:config (Though could not locate New Integer) but of no avail. It would be great if someone may help me and I may open my sites in the VM both in http and https as I desire. Thanks in advance

My host machine is Mac (OS X EI Capitan Version 10.11.6). On top of it I am running Virtual Box (5.2.6). Within Virtual Box I have Ubuntu Machine with Apache2 running. I am running a development domain sandbox.dev:8080. I use this setup for testing purposes. I have my test projects stored in a shared folder between the host and guest machines. All the setup was up and running with FireFox and Safari whether I wanted to use http or https for test purposes (And the setup is still running in Safari) until I got an extension Cookie Editor for FireFox and along withit my FireFox got updates. After that firefox started behaving strangely! 1- It is trying to enforce https on all the pages on the Ubuntu VM 2- It is allowing http on real website (This I tested by removing SSL Certificate from one of my websites) I have tried some solutions like clearing history, about:config (Though could not locate New Integer) but of no avail. It would be great if someone may help me and I may open my sites in the VM both in http and https as I desire. Thanks in advance

All Replies (3)

more options

Note that you can no longer use the .dev domain because its owner (Google) has added this domain to the HSTS preload list and thus a secure connection is automatically enforced.

The ".dev" domain landed on the HSTS preload list in Firefox 59.0b7 and this means that Firefox will automatically try a secure connection to these TLDs.

more options

Thank you very much for a great reply. Now I am thinking of using some other domain like sandbox.zeb. Any suggestion so that I may not run into the same issue once again?

more options

I don't know what kind of domain name would be best to use. Maybe a combination would work.

You can also try to ask advice at the Stack Overflow forum site to see whether they have some suggestions.