从unix访问FTPS站点时出错 - “curl:(35)与< ftp site>连接的未知SSL协议错误” [英] Error accessing FTPS site from unix - "curl: (35) Unknown SSL protocol error in connection to <ftp site>"

查看:446
本文介绍了从unix访问FTPS站点时出错 - “curl:(35)与< ftp site>连接的未知SSL协议错误”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在windows server 2008机器上使用filezilla ftp服务器。我已在此服务器上设置FTPS站点。它工作正常,当我创建任何fpts帐户,并从任何ftp windows客户端访问它。但是当我尝试从Unix机器访问此FTPS站点时,会提示我错误 -
curl:(35)与客户端连接时出现SSL协议错误

I'm using filezilla ftp server on windows server 2008 machine. I have setup the FTPS site on this server. It works fine when i create any fpts account and access it from any ftp windows client. But when i try to access this FTPS site from Unix machine it prompt me error -
"curl: (35) Unknown SSL protocol error in connection to " on the client side."

我检查了服务器上的日志,它说连接断开。

服务器日志:

150接受连接

226转移确定

已断开连接。

I checked the log on the server and it says connection disconnected.
Server Log:
150 Connection accepted
226 Transfer OK
disconnected.

任何人都可以向我建议此错误的解决方案?谢谢!

can anybody suggest me solution for this error? Thanks!

推荐答案

某些版本的OpenSSL已报告连接到某些SSL服务器时出现问题,如果可以尝试在Unix机器上升级OpenSSL,连接使用curl--3选项,假设你不是试图对服务器的未加密端口建立一个隐式的ftps连接,这将导致在服务器不需要时发生SSL握手,并且可能导致SSL错误're see。

Some versions of OpenSSL have been reported to have problems connecting to some SSL servers. Try upgrading OpenSSL on the Unix machine if you can, or force an SSL 3.0 connection with curl's -3 option. This assumes that you're not trying to make an implicit ftps connection to the server's unencrypted port. That would cause an SSL handshake when the server isn't expecting it, and could cause an SSL error like you're seeing.

这篇关于从unix访问FTPS站点时出错 - “curl:(35)与< ftp site>连接的未知SSL协议错误”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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