Blame SOURCES/rhbz-966424.patch

8acfe1
--- a/toolkit/modules/CertUtils.jsm
8acfe1
+++ b/toolkit/modules/CertUtils.jsm
8acfe1
@@ -170,17 +170,19 @@ this.checkCert =
8acfe1
   issuerCert = issuerCert.QueryInterface(Ci.nsIX509Cert3);
8acfe1
   var tokenNames = issuerCert.getAllTokenNames({});
8acfe1
 
8acfe1
   if (!tokenNames || !tokenNames.some(isBuiltinToken))
8acfe1
     throw new Ce(certNotBuiltInErr, Cr.NS_ERROR_ABORT);
8acfe1
 }
8acfe1
 
8acfe1
 function isBuiltinToken(tokenName) {
8acfe1
-  return tokenName == "Builtin Object Token";
8acfe1
+  return tokenName == "Builtin Object Token" ||
8acfe1
+         tokenName == "Default Trust" ||
8acfe1
+         tokenName == "System Trust";
8acfe1
 }
8acfe1
 
8acfe1
 /**
8acfe1
  * This class implements nsIBadCertListener.  Its job is to prevent "bad cert"
8acfe1
  * security dialogs from being shown to the user.  It is better to simply fail
8acfe1
  * if the certificate is bad. See bug 304286.
8acfe1
  *
8acfe1
  * @param  aAllowNonBuiltInCerts (optional)