[BUG] Setting NODE_EXTRA_CA_CERTS breaks claude code
Resolved 💬 10 comments Opened Jul 1, 2025 by roopakv Closed Jul 2, 2025
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.38
- Operating System: macOS
- Terminal: warp
Bug Description
On version 1.0.31 I could have NODE_EXTRA_CA_CERTS and claude would work. Now in 1.0.38 the CLI is unable to talk to claude if i have that set.
Steps to Reproduce
- set NODE_EXTRA_CA_CERTS to a valid cert on your
zshrcorbashrc - send hi to claud
Expected Behavior
Claude works
Actual Behavior
※ Tip: Did you know you can drag and drop image files into your terminal?
> hi
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 1/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 1 seconds… (attempt 2/10)
⎿ TypeError (fetch failed)
⎿ API Error (Connection error.) · Retrying in 2 seconds… (attempt 3/10)
⎿ TypeError (fetch failed)
Additional Context
This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗