You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check the [releases](https://github.com/codacy/codacy-cli-v2/releases) page for all available versions.
263
263
264
264
---
265
+
266
+
## Proxy & TLS
267
+
268
+
The CLI honors standard proxy environment variables for all outbound HTTP(S):
269
+
270
+
-`HTTP_PROXY` / `HTTPS_PROXY` — proxy URL for plain/HTTPS requests
271
+
-`NO_PROXY` — comma-separated hosts that bypass the proxy
272
+
273
+
### Corporate proxies with TLS interception
274
+
275
+
If your proxy presents its own (MITM) certificate, point the CLI at the proxy's CA bundle so TLS verification still passes:
276
+
277
+
```sh
278
+
export SSL_CERT_FILE=/path/to/corporate-ca.pem
279
+
```
280
+
281
+
`SSL_CERT_FILE` certificates are appended to the system trust store.
282
+
283
+
### Disabling TLS verification (last resort)
284
+
285
+
```sh
286
+
export CODACY_CLI_INSECURE=1
287
+
```
288
+
289
+
This disables certificate verification entirely and prints a warning. Prefer `SSL_CERT_FILE`. Insecure mode is never enabled by default.
290
+
291
+
### Testing proxy/TLS behavior
292
+
293
+
`integration-tests/proxy-tls/run.sh` runs the CLI through a real `mitmproxy` (`brew install mitmproxy`) against `app.codacy.com` and asserts the matrix above. Loop with `PROXY_TLS_LOOP=5 integration-tests/proxy-tls/run.sh`.
0 commit comments