Bug 1463936 - Set default security.pki.name_matching_mode to enforce (3) for all builds. r?jcj draft
authorDipen Patel <bugzilla@pansara.org>
Mon, 11 Jun 2018 14:52:07 -0700
changeset 806781 883d21782f2b41fe7e7f152354dce96e6cca07db
parent 806780 4bed64165131e909efd539ee554a1f678c87e4c9
push id112954
push userbmo:bugzilla@pansara.org
push dateMon, 11 Jun 2018 21:53:35 +0000
reviewersjcj
bugs1463936
milestone62.0a1
Bug 1463936 - Set default security.pki.name_matching_mode to enforce (3) for all builds. r?jcj MozReview-Commit-ID: CK3zoKfGfEr
security/manager/ssl/security-prefs.js
--- a/security/manager/ssl/security-prefs.js
+++ b/security/manager/ssl/security-prefs.js
@@ -84,21 +84,17 @@ pref("security.signed_app_signatures.pol
 // 0: always fall back to the subject common name if necessary (as in, if the
 //    subject alternative name extension is either not present or does not
 //    contain any DNS names or IP addresses)
 // 1: fall back to the subject common name for certificates valid before 23
 //    August 2016 if necessary
 // 2: fall back to the subject common name for certificates valid before 23
 //    August 2015 if necessary
 // 3: only use name information from the subject alternative name extension
-#ifdef RELEASE_OR_BETA
-pref("security.pki.name_matching_mode", 1);
-#else
 pref("security.pki.name_matching_mode", 3);
-#endif
 
 // security.pki.netscape_step_up_policy controls how the platform handles the
 // id-Netscape-stepUp OID in extended key usage extensions of CA certificates.
 // 0: id-Netscape-stepUp is always considered equivalent to id-kp-serverAuth
 // 1: it is considered equivalent when the notBefore is before 23 August 2016
 // 2: similarly, but for 23 August 2015
 // 3: it is never considered equivalent
 #ifdef RELEASE_OR_BETA