最近在sourceTree上推送或拉取更新时出现如下错误:
error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
原因可能如下:
缺少1.1或1.2版本配置,在git命令行中使用以下命令:
// git config --global --add http.sslVersion tlsv1.0
git config --global --add http.sslVersion tlsv1.1
git config --global --add http.sslVersion tlsv1.2
参考:
https://stackoverflow.com/questions/20491027/unknown-ssl-protocol-error-in-connection
本文介绍了解决SourceTree上出现的SSL错误的具体步骤。错误表现为'tlsv1alertprotocolversion',通过配置git命令行来支持TLS 1.1和1.2版本可以解决这一问题。
2682

被折叠的 条评论
为什么被折叠?



