The CLI now better supports Node.js's automatic certificate authority (CA) handling:
- When
NODE_EXTRA_CA_CERTSis set, Claude Code will display an informative message that Node.js will automatically append these certificates to the built-in CAs - The certificate configuration display has been simplified and clarified
Usage
# Set additional CA certificates
export NODE_EXTRA_CA_CERTS=/path/to/ca-bundle.crt
claude-code
The API configuration info (shown via claude-code --version or during startup) will now display:
Additional CA cert(s): /path/to/ca-bundle.crtwhen NODE_EXTRA_CA_CERTS is set- Clearer labeling for mTLS client certificates and keys
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agree
Fixed a bug causing API connection errors with UNABLE_TO_GET_ISSUER_CERT_LOCALLY if NODE_EXTRA_CA_CERTS was set