Claude Code now reads NODE_EXTRA_CA_CERTS from your config and user settings files, applying them automatically at startup — no need to set environment variables manually.
Details
On startup, if NODE_EXTRA_CA_CERTS is not already set in the environment, Claude Code checks globalConfig.env and userSettings.env for the path
Supports --use-system-ca flag to load system CA certificates via the Node.js tls.getCACertificates API
Custom CA certificates are now also applied to WebSocket connections (both Bun and Node.js)
Cache clearing added for CA certificates, mTLS configuration, and proxy agents