1. Error description
An error is reported when using the GIT command to clone a git warehouse, as shown below:
C:\Users\000>git clone https://hub.fastgit.org/githubhaohao/NDK_OpenGLES_3_0.git
Cloning into 'NDK_OpenGLES_3_0'...
fatal: unable to access 'https://hub.fastgit.org/githubhaohao/NDK_OpenGLES_3_0.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
2. Analysis error
2.1 view http.sslversion version
The http.sslversion version is tlsv1.0 as follows:
C:\Users\000>git config http.sslVersion
tlsv1.0
Weak cryptographic standards removal notice
We will then restore support for the deprecated algorithms and provide a two week grace period for these systems to upgrade their libraries before we disable support for the deprecated algorithms permanently on February 22, 2018.
As noted above, the vast majority of traffic should be unaffected by this change. However, there are a few remaining clients that we anticipate will be affected. Fortunately, the majority of clients can be updated to work with TLSv1.2.
In a word, upgrade to the versionTLSv1.2
.
3. Solution
Add the following two configuration
C:\Users\000>git config --global --unset http.sslVersion
C:\Users\000>git config --global --add http.sslVersion tlsv1.2
C:\Users\000>git config --global --add http.sslbackend openssl
Then restart the GIT clone project, as shown below: