![Firefox for Enterprise logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-43-8dda6f.png)
https only mode
Hi Team,
How can be the "enable https-only mode all windows" set via group policy.
Thank you
Chosen solution
Hi Martin, the Github page mentions that preferences beginning with dom. can be set, so that could include (you need to test):
- dom.security.https_only_mode => true
All Replies (7)
Possibly through Preferences?
Hi Jefferson,
Thank you for the hint. I review the https://github.com/mozilla/policy-templates#preferences, but i don't see preference setting for the https only mode.
Regards, Martin
Chosen Solution
Hi Martin, the Github page mentions that preferences beginning with dom. can be set, so that could include (you need to test):
- dom.security.https_only_mode => true
Hi Jefferson,
Thank you for the solution.
Regards, Martin
Mi Martin,
How did you implement the GPO? We tried the dom.security.https_only_mode => true option in Administrative Templates\Mozilla\Firefox\Preferences, but it did not work neither as a computer setting nor as a user setting. Maybe the format is wrong? Do we need to add simply the line
dom.security.https_only_mode => true
to the preferences?
Finally we implemented a new registry value and that did work, however I would rather go with Administrative Templates than with Group Policy Preferences.
Thanks and regards, Csaba
Hi Csaba,
i wasn't able to get it work via "Administrative Templates\Mozilla\Firefox\Preferences". Same as you, we end it up creating registry key via gpo.
Regards, Martin
Modified
The Preferences section uses JSON so you would set the policy like this:
{
"dom.security.https_only_mode": {
"Value": true,
"Status": "locked"
}
}