Skip to content

Commit

Permalink
Disable the Enterprise Roots preference
Browse files Browse the repository at this point in the history
Fixes #560
  • Loading branch information
pyllyukko committed Jan 14, 2025
1 parent 21d2f0c commit 4b2833e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ Improve visibility of security-related elements, mitigate shoulder-surfing
* Disable automatic reporting of TLS connection errors [ [1](https://support.mozilla.org/en-US/kb/certificate-pinning-reports) ]
* Pre-populate the current URL but do not pre-fetch the certificate in the "Add Security Exception" dialog [ [1](http://kb.mozillazine.org/Browser.ssl_override_behavior) [2](https://github.com/pyllyukko/user.js/issues/210) ]
* Encrypted SNI (when TRR is enabled) [ [1](https://www.cloudflare.com/ssl/encrypted-sni/) [2](https://wiki.mozilla.org/Trusted_Recursive_Resolver#ESNI) [3](https://en.wikipedia.org/wiki/Server_Name_Indication#Security_implications_(ESNI)) ]
* Disable the Enterprise Roots preference [ [1](https://support.mozilla.org/en-US/kb/how-disable-enterprise-roots-preference) [2](https://github.com/pyllyukko/user.js/issues/560) ]

### Cipher suites

Expand Down
6 changes: 6 additions & 0 deletions user.js
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,12 @@ user_pref("browser.ssl_override_behavior", 1);
// https://en.wikipedia.org/wiki/Server_Name_Indication#Security_implications_(ESNI)
user_pref("network.security.esni.enabled", true);

// PREF: Disable the Enterprise Roots preference
// https://support.mozilla.org/en-US/kb/how-disable-enterprise-roots-preference
// https://github.com/pyllyukko/user.js/issues/560
user_pref("security.certerrors.mitm.auto_enable_enterprise_roots" false);
user_pref("security.enterprise_roots.enabled" false);

/******************************************************************************
* SECTION: Cipher suites *
******************************************************************************/
Expand Down

0 comments on commit 4b2833e

Please sign in to comment.