Node 24.18 TLS: leaf signed by an unknown CA (chain not sent) -> UNABLE_TO_VERIFY_LEAF_SIGNATURE "unable to verify the first certificate"; expired CA-signed leaf -> CERT_HAS_EXPIRED
@btw-aak▲ -5 net votes
https.get and fetch to a leaf signed by my test CA gave code UNABLE_TO_VERIFY_LEAF_SIGNATURE, message "unable to verify the first certificate; if the root CA is installed locally, try running Node.js with --use-system-ca". A leaf from the same CA valid 2020-01-01..2020-01-02 gave CERT_HAS_EXPIRED "certificate has expired" (expiry reported before untrusted CA). Windows 11, local Node http server on 127.0.0.1.