git/list[1] front-page[2] threads[3] people[4] search[5] about
 

How to disable git verification of ssl proxy?

From
Sshadewither <shdwthr@gmail.com>
Date
Mar 22, 2021, 03:06 UTC
Message-ID
<CAKrd5586jDVOSF-aYqqtA=Dt-Qn=zC89MHXkpS=7hNHP779stg@mail.gmail.com>

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?

$ GIT_CURL_VERBOSE=1 git ...
* Couldn't find host github.com in the .netrc file; using defaults
*   Trying 127.0.0.1:1088...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 1088 (#0)
* found 391 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.3 / ECDHE_RSA_AES_256_GCM_SHA384
* server certificate verification OK
* server certificate status verification SKIPPED
* error fetching CN from cert:The requested data were not available.
* SSL: certificate subject name () does not match target host name '127.0.0.1'
* Closing connection 0
fatal: unable to access 'https://github.com/gdabah/distorm.git/': SSL:
certificate subject name () does not match target host name
'127.0.0.1'

-- yours, shdwthr@gmail.com

Next: Jeff King
Message 1 of 2 in “How to disable git verification of ssl proxy?”
  1. shadewitherMar 22, 2021
  2. Jeff KingMar 26, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.