we were using the Filezilla-server on a Windows Server 2008 as a place for other servers to upload their logs and backups to.
We have just setup a Widows-Server 2019 and installed the latest Filezilla-server and for most clients it works without problems.
There is also a Plesk-server uploading its backups to the ftp-server. Unfortunately the upload fails.
I attached the upload log below.
The most important line seems to be:
< 524 Unable to build data connection: TLS session of data connection not resumed.
Is there anything we can do about this?
My feeling is that it has something to do with TLS1.3 not being equally supported on all systems.
Kind Regards
Joscha
Code: Select all
[root@anonym ~]# echo 123 | curl -T - --ftp-create-dirs -v --ftp-pasv --ssl -k -u anonym 'ftp://anonym/./test-dir/test-file.txt'
Enter host password for user 'anonym':
* About to connect() to anonym port 21 (#0)
* Trying anonym...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to anonym anonym(anonym) port 21 (#0)
< 220-FileZilla Server 1.0.1
< 220 Please visit https://filezilla-project.org/
> AUTH SSL
< 234 Using authentication type TLS.
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* skipping SSL peer certificate verification
* SSL connection using TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
* Server certificate:
* subject: CN=anonym
* start date: Okt 08 14:15:56 2021 GMT
* expire date: Okt 09 14:20:56 2022 GMT
* common name: anonym
* issuer: anonym
> USER anonym
< 331 Please, specify the password.
> PASS anonym
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0< 230 Login successful.
> PBSZ 0
< 200 PBSZ=0
> PROT P
< 200 Protection level set to P
> PWD
< 257 "/" is current directory.
* Entry path is '/'
> CWD .
* ftp_perform ends with SECONDARY: 0
< 250 CWD command successful
> CWD test-dir
< 550 No such file
> MKD test-dir
< 257 "/test-dir" created successfully.
> CWD test-dir
< 250 CWD command successful
> EPSV
* Connect data stream passively
< 229 Entering Extended Passive Mode (|||990|)
* Trying anonym...
* Connecting to anonym (anonym) port 990
* Connected to anonym (anonym) port 21 (#0)
> TYPE I
< 200 Type set to I
> STOR test-file.txt
< 150 Starting data transfer.
* Doing the SSL/TLS handshake on the data stream
* skipping SSL peer certificate verification
* SSL connection using TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
* Server certificate:
* subject: CN=anonym
* start date: Okt 08 14:15:56 2021 GMT
* expire date: Okt 09 14:20:56 2022 GMT
* common name: anonym
* issuer: CN=anonym
} [data not shown]
* Remembering we are in dir "./test-dir/"
< 425 Unable to build data connection: TLS session of data connection not resumed.
* server did not report OK, got 425
100 4 0 0 0 4 0 7 --:--:-- --:--:-- --:--:-- 7
* Connection #0 to host anonym left intact
curl: (18) server did not report OK, got 425