Re: How to disable git verification of ssl proxy?
- From
Jeff King <peff@peff.net>
- Date
- Mar 26, 2021, 08:43 UTC
- Message-ID
- <YF2eu7Q8LXUnRCGY@coredump.intra.peff.net>
- In-Reply-To
- <CAKrd5586jDVOSF-aYqqtA=Dt-Qn=zC89MHXkpS=7hNHP779stg@mail.gmail.com>
On Mon, Mar 22, 2021 at 11:06:31AM +0800, shadewither wrote:
Show 5 quoted lines
> git version 2.25.1 / Ubuntu 20.04 > http.sslverify=false does not work. git insists on verifying ssl proxy > and complains. > curl has an option of --proxy-insecure to disable proxy verification, > what is the equivalent for git?
I don't think there is one. Peeking at the curl source code, --proxy-insecure is setting CURLOPT_PROXY_SSL_VERIFYPEER and CURLOPT_PROXY_SSL_VERIFYHOST both to 0.
So I think we'd need to plumb through an http.proxysslverify option that is equivalent to http.sslverify, but using the PROXY variants with curl_easy_setopt().
-Peff