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

cod*_*mok 4 ftp

我正在尝试通过 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
Run Code Online (Sandbox Code Playgroud)

我可以从哪里开始排除故障?

小智 7

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

在此处输入图片说明

或者,对我有用的是为 FTP 服务器提供服务器上 SSL 证书的路径。不过,它特定于 PureFTP,所以我无法告诉您要修补哪个文件 - 抱歉。

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