Skip to content

[BUG] Installing Claude Code unable to get local issuer certificate #22756

Description

@mmoreno43

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?

I am trying to install claude code to my corporate workstation. The workstation sits behind a proxy. During install I get a message the installation failed and unable to get local issuer certificate. I Windows CMD + PowerShell but I got similar errors for both. Reading through the docs I set NODE_EXTRA_CA_CERTS to point to my proxy certs but that didn't work.

What Should Happen?

Claude Code should use my proxy certs I defined with the variable NODE_EXTRA_CA_CERTS and install correctly.

Error Messages/Logs

`
irm https://claude.ai/install.ps1 | iex
Setting up Claude Code...

✘ Installation failed

Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: unable to get local issuer certificate


Try running with --force to override checks

✅ Installation complete!
`

Steps to Reproduce

  1. Be on a corporate network with Palo ALto SSL inspection
  2. Set Set-Variable -Name "NODE_EXTRA_CA_CERTS" -Value "C:\Users\xxxx\Certs\Proxy_Certificates\PEM\proxy.pem"
  3. Run installer irm https://claude.ai/install.ps1 | iex

Claude Model

None

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

latest

Platform

AWS Bedrock

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

I created a settings.json inside the .claude directory and set the variable there as well but that did not work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions