美文网首页
git :SSL23_GET_SERVER_HELLO:tlsv

git :SSL23_GET_SERVER_HELLO:tlsv

作者: 爱吃秋葵的莫冲 | 来源:发表于2018-04-03 17:01 被阅读52次

window下pull出错,报错内容

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

解决方法:

  1. 升级git版本到2.1.X
  2. 由于升级了git,可能导致存在2个版本的git,如果你使用了tortoise git,需要更改settings->general->git for window->git.exe path
  3. 更新系统path的git bin 路径配置
  4. 打开cmd,输入git --version,查看正在使用的git是否新版本
  5. 输入git config --global --add http.sslVersion tlsv1.2添加tlsv1支持
  6. 再试下pull,可成功pull

参考:
https://github.com/glennhickey/progressiveCactus/issues/93
https://git-scm.com/docs/git-config
git下载地址:
https://git-scm.com/download/win

相关文章

网友评论

      本文标题:git :SSL23_GET_SERVER_HELLO:tlsv

      本文链接:https://www.haomeiwen.com/subject/gprchftx.html