[BUG] running 'claude install' no longer works w/ system cert store

Status Fixed / completed
Reported on v2.1.117
Maintainer reply None cached
Activity 5 comments · opened Apr 22, 2026 · closed May 1, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When I run claude install, I get an error related to getting local issuer certificates. I would expect to be able to run claude install and it respect the default of 'system,bundled' as laid out in the docs.

Below, I try swapping between the system store and the CA bundle, neither makes a difference. This worked up until sometime late last week, I do not remember the CC version it broke on, but it was released last week.

What Should Happen?

Claude install should update my CC installation

Error Messages/Logs

runway on  main [✘?] on ☁️  [snip]
❯ claude install

✘ Installation failed

Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: unable to get local issuer certificate


Try running with --force to override checks



runway on  main [✘?] on ☁️  [snip] took 3s
❯ export CLAUDE_CODE_CERT_STORE=system



runway on  main [✘?] on ☁️  [snip]
❯ claude install

✘ Installation failed

Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: unable to get local issuer certificate


Try running with --force to override checks



runway on  main [✘?] on ☁️  [snip] took 3s
❯ export CLAUDE_CODE_CERT_STORE=bundled



runway on  main [✘?] on ☁️  [snip]
❯ claude install

✘ Installation failed

Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: unable to get local issuer certificate


Try running with --force to override checks



runway on  main [✘?] on ☁️  [snip] took 3s
❯ env | grep CLAUDE
CLAUDE_CODE_CERT_STORE=bundled



runway on  main [✘?] on ☁️  [snip]
❯ set --help



runway on  main [✘?] on ☁️  [snip] took 7s
❯ set -u CLAUDE_CODE_CERT_STORE

Steps to Reproduce

Have some sort of private CA in your trust store on MacOS, and something actively MITMing all your traffic with a certificate from that private CA (e.g. zScaler,) and then try to run claude install. My error messages show the combination of options showing neither work.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.117

Platform

AWS Bedrock

Operating System

macOS

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

5 Comments

nicewrld · 5 months ago

NODE_USE_SYSTEM_CA=1 claude install is a valid workaround to update Claude Code for now securely.

github-actions[bot] · 5 months ago

Found 2 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/20194
  2. https://github.com/anthropics/claude-code/issues/43967

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

nicewrld · 5 months ago

I do not believe this to be a duplicate. CC respects the system trust store during runtime, just not during updating in my experience.

nicewrld · 5 months ago

this is fixed as of 2.1.126.

github-actions[bot] · 5 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.