Skip to content
BENIBIX Learn

CLAUDE_CODE_CERT_STORE

AI⌨️ Claude CodeConfiguration

Also known as CLAUDE_CODE_CERT_STORE environment variable, NODE_EXTRA_CA_CERTS

It picks which sets of certificates Claude Code trusts.

Think of it like

It is like you choose which lists of trusted names a guard may use.

Example

Jack's company checks all web traffic and signs it with its own certificate, which sits in each laptop's store. With the default, Claude Code reads that store and just works.

Why it matters

A company network that checks traffic works when Claude Code trusts the right list.

Definition

CLAUDE_CODE_CERT_STORE picks where Claude Code finds the certificates it trusts. bundled is the Mozilla set that ships with it. system is your computer's own store. The default is both, as bundled,system. The system store needs the native install, or Node 22.15 or later. One more file of certificates can be added with NODE_EXTRA_CA_CERTS.

Example code

bash
export CLAUDE_CODE_CERT_STORE=system
claude
Trust only your computer's certificates.

Common mistake

Using an old Node install and expecting system to work. Without Node 22.15, only the bundled set and the extra file count.

Key takeaways

  1. 1
    bundled. Shipped with Claude Code.
  2. 2
    system. Your computer's store.
  3. 3
    Default: both. bundled,system.