Git Clone: ​​Unknown SSL protocol error due to github.com-00-0043

I am trying to clone a GitHub project in my office system.

set HTTPS_PROXY=http://<UN>:<PWD>@<PROXYSERVER>:<PORT> set HTTP_PROXY=http://<UN>:<PWD>@<PROXYSERVER>:<PORT> 

I set HTTPS and HTTP proxy also set sslVerify to false

 [https] sslVerify = false [http] sslVerify = false 

still, I get an "Unknown SSL protocol error due to github.com-00-0043."

Can someone advise me what I need to do?

+5
source share
2 answers

Be sure to use the latest version of Git (2.12.2) to check if the problem persists.

If so, see the various settings that I mention in “ Unknown SSL protocol error in the connection ” to debug this:

 # Windows set GIT_CURL_VERBOSE=1 set GIT_TRACE_PACKET=2 # Unix export GIT_CURL_VERBOSE=1 export GIT_TRACE_PACKET=2 

February 2018 update: after issue 587 (disable TLSv1.0 and disable cipher), this is finally in place: there is no longer TLSv1 +0.0.
See “ Stop supporting weak cryptographic standards, ” updated in 2018 with the Notice of Elimination of Weak Cryptographic Standards . ”

February 8, 2018, start disabling the following:

  • TLSv1 / TLSv1.1 . This applies to all HTTPS connections, including the web interface, API, and Git connections to https://github.com and https://api.github.com .
  • diffie-hellman-group1-sha1 . This applies to all SSH connections to github.com.
  • diffie-hellman-group14-sha1 . This applies to all SSH connections to github.com.

So make sure your:

  • Git Credential Manager greater than 1.14.0
  • Git on RedHat (for RedHart) in 7.2 and more
  • JDK - 8 or more.
+3
source

Make sure your proxy is installed correctly, if you have one: git config --global http.proxy http: // User: PASSWORD@PROXY : PORT

0
source

Source: https://habr.com/ru/post/1266565/


All Articles