收到服务器的 TLS 警报:握手失败(40)

收到服务器的 TLS 警报:握手失败(40)

我正在尝试通过 FTP 访问我的网站。我已确保我的 IP 地址未被阻止,并且我使用了正确的端口和凭据,但我仍然收到此错误日志:

Status: Resolving address of ftp.bakealot.com
Status: Connecting to 77.72.2.194:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Error:  Received TLS alert from the server: Handshake failed (40)
Error:  Could not connect to server
Status: Waiting to retry...
Status: Resolving address of ftp.bakealot.com
Status: Connecting to 77.72.2.194:21...
Status: Connection established, waiting for welcome message...
Response:   220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response:   220-You are user number 1 of 100 allowed.
Response:   220-Local time is now 16:22. Server port: 21.
Response:   220-This is a private system - No anonymous login
Response:   220-IPv6 connections are also welcome on this server.
Response:   220 You will be disconnected after 15 minutes of inactivity.
Command:    AUTH TLS
Response:   234 AUTH TLS OK.
Status: Initializing TLS...
Error:  Received TLS alert from the server: Handshake failed (40)
Error:  Could not connect to server

我应该从哪里开始排除故障?

答案1

我在 ProFTP 中遇到了这个问题,在 FileZilla 中也收到了同样的错误消息。出于上述原因,FileZilla 已禁用 TLS 连接上的 RC4。您可能仍可以在没有证书检查的情况下进行连接(在站点管理器 - 协议下):

在此处输入图片描述

或者,对我来说有效的方法是向 FTP 服务器提供服务器上 SSL 证书的路径。不过,这是 PureFTP 特有的,所以我无法告诉您要修补哪个文件 - 抱歉。

但这可能会有帮助:http://download.pureftpd.org/pub/pure-ftpd/doc/README.TLS

相关内容