Claude Code on WSL - Error: SELF_SIGNED_CERT_IN_CHAIN
Resolved 💬 4 comments Opened Jul 2, 2025 by porvakanti Closed Jul 3, 2025
I just installed Claude Code on WSL on my office laptop. I open vscode from wsl, and typed Claude and it threw the error:
╭──────────────────────────╮
│ ✻ Welcome to Claude Code │
╰──────────────────────────╯
Unable to connect to Anthropic services
Failed to connect to api.anthropic.com: SELF_SIGNED_CERT_IN_CHAIN
Please check your internet connection and network settings.
I use Claude.ai on a daily basis. This seesm more like a corporate network/firewall or a specific SSL/certificate issue with the Claude Code CLI tool. Could you please help me fix this?
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗