Tips // Claude in practice

Tips for working better with Claude

One short tip at a time, with an example you can copy. Move through them at random or search for what you need.

Claude CodeAdvancedClaude Code

Corporate proxy: point to the CA, never turn TLS off

If you see 'self-signed certificate in chain', the proxy is working as it should: the fix is to give Claude Code the company's CA.

Claude Code respects HTTPS_PROXY, HTTP_PROXY and NO_PROXY. They are operating system variables, not settings: across a fleet they are deployed via MDM. A proxy with TLS inspection re-signs the traffic with the corporate CA; give its path with NODE_EXTRA_CA_CERTS. Disabling verification does not pass a security review. Limits: SOCKS is not supported, and NTLM or Kerberos require an LLM gateway.

Example
export HTTPS_PROXY=https://proxy.client.com:8080
export NO_PROXY="localhost,.client.com"
export NODE_EXTRA_CA_CERTS=/etc/ssl/corp-root-ca.pem
#proxy#tls#networking#enterprise