Under the hood
TLS certificate errors are now classified into specific known cert-chain failure codes
What
A new list of known TLS certificate error codes, UNABLE_TO_VERIFY_LEAF_SIGNATURE, UNABLE_TO_GET_ISSUER_CERT, UNABLE_TO_GET_ISSUER_CERT_LOCALLY, DEPTH_ZERO_SELF_SIGNED_CERT, and SELF_SIGNED_CERT_IN_CHAIN, is now used with a new helper function to extract a readable reason string from certificate errors.
Why
This lets Claude Code recognize and report specific certificate chain problems, like self-signed or unverifiable certificates, with a clearer reason instead of a generic connection failure.