# CLAUDE_CODE_CERT_STORE

> It picks which sets of certificates Claude Code trusts.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** CLAUDE_CODE_CERT_STORE environment variable, NODE_EXTRA_CA_CERTS

## Think of it like

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

## 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

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.

## Example code

```bash
export CLAUDE_CODE_CERT_STORE=system
claude
```

Trust only your computer's certificates.

## Why it matters

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

## 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.

## Three principles

- **bundled.** Shipped with Claude Code.
- **system.** Your computer's store.
- **Default: both.** bundled,system.

## Related terms

- [Transport Layer Security (TLS)](https://learn.benibix.com/term/infrastructure/tls)
- [CLAUDE_CODE_CLIENT_CERT](https://learn.benibix.com/term/ai/claude-code-client-cert-variable)

---

Source: https://learn.benibix.com/term/ai/claude-code-cert-store-variable
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
