Bug 1019255 - Enable pinning on fennec. r=rnewman, r=blassey, a=lmandel
authorMonica Chew <mmc@mozilla.com>
Wed, 03 Sep 2014 13:30:12 -0700
changeset 225165 3ad931b42b9db42b3e77c19e82321ee0baa85b53
parent 225164 f764e665b39c8846ef712d043ddcb2881dc4fb24
child 225166 93b6d563a7f8954dd6f995af63db20942f61ba7d
push id3979
push userraliiev@mozilla.com
push dateMon, 13 Oct 2014 16:35:44 +0000
treeherdermozilla-beta@30f2cc610691 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrnewman, blassey, lmandel
bugs1019255
milestone34.0a2
Bug 1019255 - Enable pinning on fennec. r=rnewman, r=blassey, a=lmandel
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -497,16 +497,19 @@ pref("app.marketplaceURL", "https://mark
 // Name of alternate about: page for certificate errors (when undefined, defaults to about:neterror)
 pref("security.alternate_certificate_error_page", "certerror");
 
 pref("security.warn_viewing_mixed", false); // Warning is disabled.  See Bug 616712.
 
 // Block insecure active content on https pages
 pref("security.mixed_content.block_active_content", true);
 
+// Enable pinning
+pref("security.cert_pinning.enforcement_level", 1);
+
 // Override some named colors to avoid inverse OS themes
 pref("ui.-moz-dialog", "#efebe7");
 pref("ui.-moz-dialogtext", "#101010");
 pref("ui.-moz-field", "#fff");
 pref("ui.-moz-fieldtext", "#1a1a1a");
 pref("ui.-moz-buttonhoverface", "#f3f0ed");
 pref("ui.-moz-buttonhovertext", "#101010");
 pref("ui.-moz-combobox", "#fff");