Dana Keeler a01c5c4c66 Bug 1611381 - attempt to detect more self-signed certificates r=jschanck
When two self-signed certificates have the same issuer and subject but
different keys, mozilla::pkix can return a bad signature error or an inadequate
key usage error (assuming no other suitable issuer is found). The real issue is
that the certificates are self-signed, so this change attempts to detect that
and return a more appropriate error.

Differential Revision: https://phabricator.services.mozilla.com/D195176
2023-12-01 16:42:25 +00:00
..