Information on how to use the ssl/tls feature for secure ftp
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed TC doesn't shutdown the SSL connection, it just clears the control channel. This works fine with some servers, but not with all. Calling SSL_Shutdown followed by a loop of SSL_read calls seems to fix the problem. I will add it to beta 18.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Just tested beta18 and it seems to correctly shutdown TLS on control channel now. But it fails to build data connection. The (ftp) logs show:
starting TLS negotiation on data connection
but it does not complete. Without sending CCC, the connection will succeed (of course only if there's no NAT between the client and the server) so pure SSL/TLS works. Is there anything I can try to check on my end?
edit: tested both passive and active mode.
starting TLS negotiation on data connection
but it does not complete. Without sending CCC, the connection will succeed (of course only if there's no NAT between the client and the server) so pure SSL/TLS works. Is there anything I can try to check on my end?
edit: tested both passive and active mode.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC doesn't support encrypted data connections together with unencrypted control connections, sorry. Try sending the command:
PROT C
PROT C
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I will consider it. may I still use your test account to test it?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
When I try to connect ftps://ghisler.ch with TC (control-F) I get a "Connect calll failed" error.ghisler(Author) wrote: First, try to find out whether it's a server problem, or on your side. Try to connect anonymously to our forum server:
ftps://ghisler.ch/
I have these files installed:
c:\totalcmd\libeay32.dll
c:\totalcmd\libssl32.dll
c:\totalcmd\rootcert.pem
What should I uses as "User name" and "Password"? I've tried several things including leaving them blank. I get the same error.
What am I doing wrong?
--
Bob
ftps://ghisler.ch does not seem to work any more. Try ftps://test:test@ftp.secureftp-test.com.
Thanks for the link. I was able to make the connection and I've also solved the problem of being unable to FTPS to Yahoo Hosting as well.Sob wrote:ftps://ghisler.ch does not seem to work any more. Try ftps://test:test@ftp.secureftp-test.com.
--
Bob