Answer: Configure Claude Code to trust a custom CA by setting the NODE_EXTRA_CA_CERTS environment variable to the path of your CA certificate file. Status: Confirmed Entry: tool/claude-code/admin-and-enterprise/custom-ca-certificates Revision: 2 Digest: sha256:dccb51b7c68d9289 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:04:46Z Last changed: 2026-11-20T12:22:24Z (example path: — → /path/to/ca-cert.pem) Last verified: 2026-11-20T12:22:24Z Next check: 2026-11-21T12:22:24Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of environment variable | NODE_EXTRA_CA_CERTS | [1] | 2026-11-20 example path | /path/to/ca-cert.pem | [1] | 2026-11-20 Sources: [1] Anthropic. "Enterprise network configuration". https://code.claude.com/docs/en/network-config.md Role: primary. Accessed: 2026-11-20T12:22:24Z Quote: "export NODE_EXTRA_CA_CERTS=/path/to/ca-cert.pem" (Supports: environment variable, example path) Published: 2026-11-20T02:51:42Z Snapshot SHA-256: f8f28e6270458179871d5f6e770cf50f012c6710bb61a1b2e9d28c0346cc8249 (captured 2026-11-20T12:22:23Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:22:24Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:22:24Z Last attempt: 2026-11-20T12:22:24Z Notes and limitations: Extracted automatically from a single official source (section "Custom CA certificates"). Related: https://latestn.com/tool/claude-code/admin-and-enterprise/default-mod-behavior What happens by default with mods in Claude Code if I change nothing? https://latestn.com/tool/claude-code/admin-and-enterprise/deliver-managed-settings How do I deliver managed settings to Claude Code devices in my organization? https://latestn.com/tool/claude-code/admin-and-enterprise/deploy-gateway-kubernetes How do I deploy the Claude apps gateway on Kubernetes? https://latestn.com/tool/claude-code/admin-and-enterprise/configure-server-managed-settings How do I configure server-managed settings for Claude Code in the claude.ai console? https://latestn.com/tool/claude-code/admin-and-enterprise/corporate-proxy-aws How do I route Claude Code through a corporate proxy on Claude Platform on AWS? https://latestn.com/tool/claude-code/admin-and-enterprise/create-test-environment How do I create a dedicated test environment for Claude Code self-hosted environments? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T12:22:24Z | changed | example path: — → /path/to/ca-cert.pem | [1] 2026-11-20T12:22:24Z | changed | environment variable: — → NODE_EXTRA_CA_CERTS | [1] 2026-11-20T12:22:24Z | changed | Example path: /path/to/ca-cert.pem → — | [1] 2026-11-20T12:22:24Z | changed | Environment variable: NODE_EXTRA_CA_CERTS → — | [1] 2026-11-13T03:04:46Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/admin-and-enterprise/custom-ca-certificates/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/custom-ca-certificates POST: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/custom-ca-certificates with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/admin-and-enterprise/custom-ca-certificates?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I make Claude Code trust a custom CA certificate? Revision 2, last verified 2026-11-20T12:22:24Z. https://latestn.com/tool/claude-code/admin-and-enterprise/custom-ca-certificates (accessed 2026-11-21T09:58:07Z). @misc{LatestN_tool_claude_code_admin_and_enterprise_custom_ca_certificates_r2, title = {How do I make Claude Code trust a custom CA certificate?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/admin-and-enterprise/custom-ca-certificates}}, note = {Revision 2; digest sha256:dccb51b7c68d9289; last verified 2026-11-20T12:22:24Z; accessed 2026-11-21T09:58:07Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/admin-and-enterprise/custom-ca-certificates