From: Jeff King <peff@peff.net>
To: shadewither <shdwthr@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: How to disable git verification of ssl proxy?
Date: Fri, 26 Mar 2021 04:43:39 -0400 [thread overview]
Message-ID: <YF2eu7Q8LXUnRCGY@coredump.intra.peff.net> (raw)
In-Reply-To: <CAKrd5586jDVOSF-aYqqtA=Dt-Qn=zC89MHXkpS=7hNHP779stg@mail.gmail.com>
On Mon, Mar 22, 2021 at 11:06:31AM +0800, shadewither wrote:
> 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
prev parent reply other threads:[~2021-03-26 8:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-22 3:06 How to disable git verification of ssl proxy? shadewither
2021-03-26 8:43 ` Jeff King [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YF2eu7Q8LXUnRCGY@coredump.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=shdwthr@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).