gpt4 book ai didi

git - SSL23_GET_SERVER_HELLO :sslv3 alert handshake failure

转载 作者:太空狗 更新时间:2023-10-29 13:08:33 26 4
gpt4 key购买 nike

我刚刚安装了新版本的 gitlab,新安装后 ssl 无法正常工作...它会抛出 SSL23_GET_SERVER_HELLO:sslv3 alert handshake 错误。 ssh 工作正常。我看到的唯一区别是在旧浏览器中说它使用的是 TLS 1.0,而在新版本中它说的是 1.2。因为这与 gitlab 无关,所以我在 stackoverflow 中发布了问题...

$ git clone https://gitlabserver/group/project.git
Cloning into 'project'...
* Couldn't find host gitlabserver in the _netrc file; using defaults
* Adding handle: conn: 0x282d6f8
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x282d6f8) send_pipe: 1, recv_pipe: 0
* About to connect() to gitlabserver port 443 (#0)
* Trying gitlabserver...
* Connected to gitlabserver port 443 (#0)
* successfully set certificate verify locations:
* CAfile: c:/Users/lanid/curl-ca-bundle.crt
CApath: none
* error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

* Closing connection 0
fatal: unable to access 'https://gitlabserver/group/project.git/': error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

这是使用 TLS 1.0 和 SNI 进行测试时 OpenSSL s_client 的输出:

openssl s_client -connect <hostname>:<port> -tls1 -servername <hostname>

Loading 'screen' into random state - done
CONNECTED(00000208)
8008:error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure:.\ssl\s3_pkt.c:1126:SSL alert number 40
8008:error:1409E0E5:SSL routines:SSL3_WRITE_BYTES:ssl handshake failure:.\ssl\s3_pkt.c:547:

对于具有相同设置但旧版本工作文件的另一台服务器的相同命令...

最佳答案

如果您在 Git 客户端上遇到此问题。

然后安装最新版本的 Git bash。

我遇到了同样的问题并决定安装新的 Git 客户端。

关于git - SSL23_GET_SERVER_HELLO :sslv3 alert handshake failure,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31113039/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com