{"version":"2.0.37","anchor":"client-certificate-support-for-websocket-proxies","canonical_anchor":"client-certificate-support-for-websocket-proxies","heading":"Client Certificate Support for WebSocket Proxies","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.0.37\/e\/client-certificate-support-for-websocket-proxies","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.0.37","markdown":"### Client Certificate Support for WebSocket Proxies\n\n**What:** WebSocket connections now support HTTPS proxies with client certificate authentication (mTLS).\n\n**How to use:** Configure client certificates via environment variables:\n\n`export CLAUDE_CODE_CLIENT_CERT=\/path\/to\/cert.pem export CLAUDE_CODE_CLIENT_KEY=\/path\/to\/key.pem export CLAUDE_CODE_CLIENT_KEY_PASSPHRASE=optional_passphrase` **Details:**\n\n- New `CFA()` function creates per-request proxy agents with certificate support\n- Applies to both API requests and WebSocket connections\n- Respects proxy bypass rules on a per-URL basis\n- Replaces global proxy agent pattern with per-connection agents\n- **Evidence**: `CFA()` function at line 151929, WebSocket usage at line 488707, API usage at lines 483464 and 483483"}