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

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

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

  • 3 valiny
  • 1 manana an'ity olana ity
  • 6 views
  • Valiny farany nomen'i 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.