FTP using Explicit SSL (Auth TLS) with TLS v1.2

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
ivanek
Junior Member
Junior Member
Posts: 2
Joined: 2013-01-02, 14:06 UTC
Location: Czech Republic

FTP using Explicit SSL (Auth TLS) with TLS v1.2

Post by *ivanek »

Hello,

I've been using for many years and I always used it for regular FTP uploads/downloads. Some time ago most of the servers shifted to TLS 1.2 with only Auth TLS support (ditching the SSL one) and I can't seem to find the solution to use TC to connect to FTP.

I understand there are legal issues for TC to support TLS 1.2, since Swiss laws are not as flexible as in other countries..

I used TSLWrap 1.04 in the past, but it doesn't support TLS 1.2.

After reading many comments here and after looking at SFTP plugin available (which supports FTP over SSH which is not my case), does anybody know if it is possible at all?

thanks!
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3896
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

does anybody know if it is possible at all?
As you already mentioned, SFTP is FTP over SSH which is a totally different thing.

You are looking for FTPS, which works with TC too.
You even don't need a plugin for this, but third party DLLs.

I have got a working set with:

TC 32-bit (TOTALCMD.EXE) using Win32 Generic - libcurl -> curl-7.40.0-devel-mingw32.zip all DLLs of bin folder just copied to <TC installdir> directory
TC 64-bit (TOTALCMD64.EXE) using MinGW64 - devel -> curl-7.40.0-devel-mingw64.7z all DLLs of bin folder just copied to <TC installdir>\64 subdirectory

BTW: for FTPS you need ssleay32.dll and libeay32.dll only but the others are required for SFTP ... and if you can have them all ...
#5767 Personal license
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3896
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

Sorry, AFAIK the above mentioned DLLs do not support TLS1.2 !
For this purpose you need the latest DLLs from OpenSSL (Light version) ... but I don't have any experience with this ones.
#5767 Personal license
ivanek
Junior Member
Junior Member
Posts: 2
Joined: 2013-01-02, 14:06 UTC
Location: Czech Republic

Post by *ivanek »

Well the issue is that Libraries are loaded OK. As you can see from the log:

1:----------
1:SSL: Libraries loaded OK! C:\WINDOWS\SYSTEM32\LIBEAY32.dll
1:Connect to: (23.10.2015 10:24:44)
1:hostname=hostname.here
1:username=username.here
1:startdir=
1:IP.HERE=IP.HERE
1:220 Welcome[:
1:AUTH TLS
1:234 AUTH TLS successful
1:SSL_read returned -1, SSL_get_error=5, ERR_get_error=0
Post Reply