claude-code - 💡(How to fix) Fix [BUG] running 'claude install' no longer works w/ system cert store [3 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#51889Fetched 2026-04-23 07:42:11
View on GitHub
Comments
3
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
commented ×3labeled ×1

Error Message

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.

Error Messages/Logs

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.

Code Example

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
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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

extent analysis

TL;DR

The issue is likely due to a private CA in the trust store on MacOS interfering with the certificate verification of the claude install command, and a potential workaround is to use the --force flag to override certificate checks.

Guidance

  • The error message "unable to get local issuer certificate" suggests a certificate verification issue, which may be related to the private CA in the trust store.
  • The fact that switching between the system store and the CA bundle does not make a difference implies that the issue is not with the certificate store itself, but rather with the certificate verification process.
  • Using the --force flag to override certificate checks may allow the claude install command to succeed, but this should be done with caution as it may introduce security risks.
  • To mitigate the issue, it may be necessary to remove or disable the private CA from the trust store, or to configure the claude install command to use a different certificate verification method.

Example

No code snippet is provided as the issue is related to certificate verification and trust stores, which is a system-level configuration.

Notes

The issue is likely specific to the MacOS platform and the presence of a private CA in the trust store. The use of the --force flag should be done with caution and only as a temporary workaround until a more permanent solution can be found.

Recommendation

Apply workaround: use the --force flag to override certificate checks, as it may allow the claude install command to succeed, but be aware of the potential security risks.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING