Whether a certificate is self-issued (its two names equal, as RFC 5280
section 7.1 compares them) and its signature verifies under its own key.
Not node's checkIssued(self): that is OpenSSL's X509_check_issued(),
which also refuses an issuer whose keyUsage lacks keyCertSign, so a
self-signed client certificate with keyUsage = digitalSignature — the
usual shape — answers false there while OpenSSL's chain builder still
takes it as its own issuer.
Parameters
cert: any
PEM text, DER bytes or a parsed certificate
Returns boolean
true when both hold; false for anything that cannot be read
Whether a certificate is self-issued (its two names equal, as RFC 5280 section 7.1 compares them) and its signature verifies under its own key.
Not node's
checkIssued(self): that is OpenSSL'sX509_check_issued(), which also refuses an issuer whose keyUsage lacks keyCertSign, so a self-signed client certificate withkeyUsage = digitalSignature— the usual shape — answers false there while OpenSSL's chain builder still takes it as its own issuer.