Skip to content

Commit

Permalink
68.14.2 - quick fix to accept bad certificates
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedor committed Jun 2, 2024
1 parent 0ed4d27 commit 6a4f7fd
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions browser/base/content/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -4089,18 +4089,9 @@ function getDetailedCertErrorInfo(location, securityInfo) {
hasHPKP,
]);

let certChain = "";
if (securityInfo.failedCertChain) {
for (let cert of securityInfo.failedCertChain.getEnumerator()) {
certChain += getPEMString(cert);
}
}

certErrorDetails +=
"\r\n\r\n" +
gNavigatorBundle.getString("certErrorDetailsCertChain.label") +
"\r\n\r\n" +
certChain;
gNavigatorBundle.getString("certErrorDetailsCertChain.label");

return certErrorDetails;
}
Expand Down

0 comments on commit 6a4f7fd

Please sign in to comment.