xref: /curl/docs/cmdline-opts/proxy-insecure.md (revision fe9f68fa)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: proxy-insecure
5Help: Skip HTTPS proxy cert verification
6Added: 7.52.0
7Category: proxy tls
8Multi: boolean
9See-also:
10  - proxy
11  - insecure
12Example:
13  - --proxy-insecure -x https://proxy $URL
14---
15
16# `--proxy-insecure`
17
18Same as --insecure but used in HTTPS proxy context.
19
20Every secure connection curl makes is verified to be secure before the
21transfer takes place. This option makes curl skip the verification step with a
22proxy and proceed without checking.
23
24When this option is not used for a proxy using HTTPS, curl verifies the
25proxy's TLS certificate before it continues: that the certificate contains the
26right name which matches the hostname and that the certificate has been signed
27by a CA certificate present in the cert store. See this online resource for
28further details: **https://curl.se/docs/sslcerts.html**
29
30**WARNING**: using this option makes the transfer to the proxy insecure.
31