[BUG] Claude code will not connect to antrhropic behind a corporate firewall

Resolved 💬 3 comments Opened Apr 3, 2026 by cyberhound1 Closed Apr 3, 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 type claude in windows powershell I get the following error. Unable to connect to Anthropic services

Failed to connect to api.anthropic.com: UNABLE_TO_GET_ISSUER_CERT_LOCALLY

SSL certificate error (UNABLE_TO_GET_ISSUER_CERT_LOCALLY). If you are behind a corporate proxy or TLS-intercepting
firewall, set NODE_EXTRA_CA_CERTS to your CA bundle path, or ask IT to allowlist *.anthropic.com. Run /doctor for
details.
I have set HTTP_PROXY and HTTPS_PROXY to my corporate proxy server. and set BUN_CA_BUNDLE to my corporate CA bundle. I have also set NODE_OPTIONS "--use-openssl-ca".

claude doctor runs as expected Diagnostics
└ Currently running: native (2.1.89)
└ Path: C:\Users\jantoli2\.local\bin\claude.exe
└ Invoked: C:\Users\jantoli2\.local\bin\claude.exe
└ Config install method: native
└ Search: OK (bundled)
Updates
└ Auto-updates: enabled
└ Auto-update channel: latest
└ Stable version: 2.1.84
└ Latest version: 2.1.91
Press Enter to continue…

but claude throws error on loading

What Should Happen?

Claude should connect to anthropic and load

Error Messages/Logs

Failed to connect to api.anthropic.com: UNABLE_TO_GET_ISSUER_CERT_LOCALLY

 SSL certificate error (UNABLE_TO_GET_ISSUER_CERT_LOCALLY). If you are behind a corporate proxy or TLS-intercepting
 firewall, set NODE_EXTRA_CA_CERTS to your CA bundle path, or ask IT to allowlist *.anthropic.com. Run /doctor for
 details.

Steps to Reproduce

  1. connect to corporate vpn
  2. open powershell
  3. type claude at prompt

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.89 native

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗