bug 1282871 - import the Family Safety root by default when applicable r?mgoodwin draft
authorDavid Keeler <dkeeler@mozilla.com>
Tue, 28 Jun 2016 14:18:26 -0700
changeset 382099 1e978006b957f8de4bbc8e163dda12fd025f6e84
parent 381476 0e3f8401b804702c894eb5fdf7eae3cbdf618668
child 524088 82645e4af8fb44f148f4eee579a47115ba9f8817
push id21612
push userdkeeler@mozilla.com
push dateTue, 28 Jun 2016 21:19:47 +0000
reviewersmgoodwin
bugs1282871
milestone50.0a1
bug 1282871 - import the Family Safety root by default when applicable r?mgoodwin Enabling this feature should make https sites work in Firefox on Windows 8.1 for user accounts where Microsoft Family Safety features have been enabled (whereas previously Firefox would show a connection untrusted error page). MozReview-Commit-ID: JH5Gn9lCYDA
netwerk/base/security-prefs.js
--- a/netwerk/base/security-prefs.js
+++ b/netwerk/base/security-prefs.js
@@ -35,16 +35,23 @@ pref("security.ssl3.rsa_des_ede3_sha", t
 pref("security.content.signature.root_hash",
      "97:E8:BA:9C:F1:2F:B3:DE:53:CC:42:A4:E6:57:7E:D6:4D:F4:93:C2:47:B4:14:FE:A0:36:81:8D:38:23:56:0E");
 
 pref("security.default_personal_cert",   "Ask Every Time");
 pref("security.remember_cert_checkbox_default_setting", true);
 pref("security.ask_for_password",        0);
 pref("security.password_lifetime",       30);
 
+// The supported values of this pref are:
+// 0: disable detecting Family Safety mode and importing the root
+// 1: only attempt to detect Family Safety mode (don't import the root)
+// 2: detect Family Safety mode and import the root
+// (This is only relevant to Windows 8.1)
+pref("security.family_safety.mode", 2);
+
 pref("security.OCSP.enabled", 1);
 pref("security.OCSP.require", false);
 pref("security.OCSP.GET.enabled", false);
 
 pref("security.pki.cert_short_lifetime_in_days", 10);
 // NB: Changes to this pref affect CERT_CHAIN_SHA1_POLICY_STATUS telemetry.
 // See the comment in CertVerifier.cpp.
 // 3 = allow SHA-1 for certificates issued before 2016 or by an imported root.