为什么Schannel无法从服务器接收握手? [英] Why Schannel fails to receive handshake from the server?

查看:327
本文介绍了为什么Schannel无法从服务器接收握手?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试从git服务器中提取时,出现此错误:

When I'm trying to pull from our git server I get this error:

致命:无法访问"xxx":OpenSSL SSL_connect:SSL_ERROR_SYSCALL与xxx

fatal: unable to access 'xxx': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to xxx

在发生这种情况之前,我只能通过还原系统来解决它,但是这次我的系统还原点由于某种原因而被删除,而我也无法做到这一点.

When this happened before I was able to solve it by simply restoring the system but this time my system restore points got deleted for some reason, and I can't do that either.

之所以发生这种情况,是因为我的系统设置中与SSL相关的某些更改并且我不知道为什么.

So this happens because something in my system settings related to SSL changes and I don't know why.

我尝试安装git以使用Windows cert.存储而不是OpenSSL,我收到此错误:

I have tried installing git to use windows cert. store instead of OpenSSL and I got this error:

致命:无法访问"xxx":schannel:无法接收握手,SSL/TLS连接失败

fatal: unable to access 'xxx': schannel: failed to receive handshake, SSL/TLS connection failed

相同的问题,不同的错误消息.客户端问候之后,服务器未发送回问候消息.我认为可能会发生这种情况,因为服务器不支持我在客户端问候消息中发送服务器的所有密码套件.因此,我尝试了配置组策略,并按顺序将服务器正在使用的密码套件放在首位.但这没什么区别.

Same problem, different error message. The server is not sending back a hello message after the client hello. I thought this might happen because none of the cipher suites that I'm sending the server in the client hello message are supported by the server. So I've tried configuring a group policy and put the cipher suite the server is using first in order. But it didn't make any difference.

我能够通过浏览器连接git服务器的站点.所以我的问题是,我该怎么做才能解决这个问题?

I am able to connect the git server's site through the browser. So my question is, what can I do to solve this problem?

推荐答案

在我的情况下,我从

[http] sslbackend = schannel

[http] sslbackend = openssl

这篇关于为什么Schannel无法从服务器接收握手?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆