使用SourceTree报错:error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

本文提供了几种解决Git中TLS 1.0错误的方法,包括更新Git版本、配置TLS版本等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


解决方法1:可以使用内嵌版本


解决2 :如果用的是系统版本则,更新系统git版本(我就是这么解决的)

解决3:(stackoverflow上有人说的,试了下没用,可以试一下) 

I had the same problem and my fix was: 1.in command line check your tls version with command: git config http.sslVersion 2.if the version is tslv1.0 than you have to update it to tslv1.2 with command: git config --global --unset http.sslVersion git config --global --add http.sslVersion tslv1.2 and than the error won't be present anymor


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值