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

https only mode

  • 7 replies
  • 1 has this problem
  • 266 views
  • Last reply by Mike Kaply

more options

Hi Team,

How can be the "enable https-only mode all windows" set via group policy.

Thank you

Hi Team, How can be the "enable https-only mode all windows" set via group policy. Thank you
Attached screenshots

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
Read this answer in context 👍 1

All Replies (7)

more options
more options

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

more options

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
more options

Hi Jefferson,

Thank you for the solution.

Regards, Martin

more options

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

more options

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 by Martin.Mlynar

more options

The Preferences section uses JSON so you would set the policy like this: {

 "dom.security.https_only_mode": {
   "Value": true,
   "Status": "locked"
 }

}