Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 3 réponses
  • 1 a ce problème
  • 6 vues
  • Dernière réponse par 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

Toutes les réponses (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.