Error accessing FTPS site from unix - “curl: (35) Unknown SSL protocol error in connection to <ftp site>”

狂风中的少年 提交于 2019-12-11 23:19:35

问题


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."

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!


回答1:


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.



来源:https://stackoverflow.com/questions/5797367/error-accessing-ftps-site-from-unix-curl-35-unknown-ssl-protocol-error-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!