git提交报错SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

git push报错

git push origin master

Administrator@FREESKYC-92DB80 /e/git/ouyida3/ouyida3.github.io (master)
$ git push origin master
fatal: unable to access 'https://github.com/ouyida3/ouyida3.github.io.git/': err
or:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

版本

winxp sp3
git 1.9.5

https://githubengineering.com/crypto-removal-notice/

下载git最新版本2.18.0

https://git-scm.com/downloads

下载:Git-2.18.0-32-bit.exe

git查看ssl版本号

两个命令都可以。但是注意点是,如果没有这个配置,会什么也不显示。因为我这里连tls1.0也没有显示。

git config http.sslVersion
git config --global --list

$ git config --global http.sslVersion tlsv1.2

win xp系统彻底可以抛弃了!
jdk不行、chrome不行、git不行。我要花钱买新电脑了!

别人博客说2.6.2就可以解决,别的博客又说2.16xp还可以安装。好吧,那我就下载个2.7来安装把。

https://github.com/git-for-windows/git/releases/tag/v2.7.0.windows.1

安装后界面焕然一新:

乱码也没了。

比1.9还多了个cmd的:

push成功!新版本变成弹出框。。。

由于更新了,要先git pull。
问题完美解决。

参考:
https://blog.csdn.net/virusnono/article/details/79361870 2月24日
https://blog.csdn.net/huihut/article/details/79404421 2月28日

原文地址:https://www.cnblogs.com/ouyida3/p/9458713.html