cURL Auth, TLS, and Proxy Security/Skip TLS verification for HTTPS proxy

Disable certificate verification for the HTTPS proxy connection.

Section: TLS and Certificates

Skip TLS verification for HTTPS proxy

bash
bash
curl --proxy-insecure -x https://proxy.example.com:8443 https://example.com
Explanation

Proxy TLS and origin TLS are separate validation layers.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing TLS and Certificates
Require TLS 1.2
Require TLS 1.2 or newer for the connection.
OpenIn sheetbashsame section
Set maximum TLS version
Cap the TLS protocol version used by curl.
OpenIn sheetbashsame section
Use a CA certificate directory
Use a directory of CA certificates instead of a single bundle file.
OpenIn sheetbashsame section
Use a PKCS#12 client certificate
Authenticate with a P12 / PFX certificate bundle.
OpenIn sheetbashsame section
Pin a public key
Verify the server public key against a pinned key.
OpenIn sheetbashsame section
Use a certificate revocation list
Check server certs against a CRL file.
OpenIn sheetbashsame section