SSL/TLS problem | 5.7.7 | cloud service
Basically, to connect to the box.com ftp servers, I use FTP as the protocol, with TLS/SSL Explicit encryption, pointing at port 21, ftp.box.com. Works perfectly under 5.7.6. However, if instead I install 5.7.7 (where the only significant change in WinSCP from .6 to .7 was TLS/SSL core upgraded to OpenSSL 1.0.1s, as I understand it), I get the following:
SSL3 alert write: fatal: handshake failure TLS connect: error in error Can't establish TLS connection Disconnected from server Connection failed.
If I revert back to an earlier version of WinSCP (using slightly older TLS), connects perfectly.
Here is a more detailed log:
2016-03-10 17:35:56.640 -------------------------------------------------------------------------- . 2016-03-10 17:35:56.640 Session upkeep . 2016-03-10 17:35:56.702 Connecting to ftp.box.com ... . 2016-03-10 17:35:56.733 Connected with ftp.box.com, negotiating TLS connection... < 2016-03-10 17:35:56.807 220 Service ready for new user. > 2016-03-10 17:35:56.807 AUTH SSL < 2016-03-10 17:35:56.900 234 Command AUTH okay; starting SSL connection. . 2016-03-10 17:35:58.211 SSL3 alert write: fatal: handshake failure . 2016-03-10 17:35:58.211 TLS connect: error in error . 2016-03-10 17:35:58.211 Can't establish TLS connection . 2016-03-10 17:35:58.211 Disconnected from server . 2016-03-10 17:35:58.211 Connection failed. . 2016-03-10 17:35:58.226 Got reply 1004 to the command 1 * 2016-03-10 17:35:58.242 (EFatal) Connection failed. * 2016-03-10 17:35:58.242 SSL3 alert write: fatal: handshake failure
This has been confirmed several times by box.com, who (as of yesterday) sent me the following:
"Apologies for the delay here. We were able to reproduce your issue with WinSCP, but are having trouble recreating the errors in other FTP clients (eg. Filezilla) with the same setup (Explicit, port 21).
With the new version of WinSCP, are you able to connect with a non-encrypted connection without error?"
So, they can replicate the problem, but only if using WinSCP.
At this point, seems as if this should be a direct conversation between the WinSCP dev team and the engineers for box.com. If you let me know who on the WinSCP side of things I should put in touch with box.com, I'll pass along the appropriate contact information, incident number, etc.