SourceTree error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

前端 未结 7 1393
后悔当初
后悔当初 2020-12-29 19:00

I\'m using SourceTree and try to clone from a general github repository, but I got this error:

fatal: unable to access \'https://github.com/mfitzp/15-

相关标签:
7条回答
  • 2020-12-29 20:02

    I had the same problem and my fix was:

    1.update git to the latest version

    2.in command line check your tls version with command: git config http.sslVersion

    3.if the version is tlsv1.0 than you have to update it to tlsv1.2 with command:

    • git config --global --unset http.sslVersion
    • git config --global --add http.sslVersion tlsv1.2

    and than the error won't be present anymore

    0 讨论(0)
提交回复
热议问题