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日


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM