How to force disabling version 1.3 of TLS protocol and force version 1.2 instead on FileZilla Server ?

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
Ateliers_CYM
504 Command not implemented
Posts: 6
Joined: 2023-03-07 10:35
First name: Cyril
Last name: Marion

How to force disabling version 1.3 of TLS protocol and force version 1.2 instead on FileZilla Server ?

#1 Post by Ateliers_CYM » 2023-03-07 10:54

Hello everybody,

I've setup a FileZilla Server version 1.6.7 on a Windows 2022 server machine. By default the TLS version which is used is 1.3.
One of my customer uses an home made FTP client on a Windows 2019 server, which does not support protocol TLS 1.3, only version 1.2.

When someone logs onto my FileZilla Server he receives a proposal for accepting the TLS certificate, where the version of the protocol used is indicated and is TLS 1.3.

So I tried to disable the version 1.3 and enable version 1.2 instead, by changing the registry and reboot.

But the version used does not change, it is still version 1.3.
Image

So my question is simple : how to force disabling version 1.3 of TLS protocol and force version 1.2 instead on FileZilla Server itself, or on the machine which hosts the FileZilla Server ?

Many thanks in advance,

Cheers,
Cyril

User avatar
oibaf
Contributor
Posts: 404
Joined: 2021-07-16 21:02
First name: Fabio
Last name: Alemagna

Re: How to force disabling version 1.3 of TLS protocol and force version 1.2 instead on FileZilla Server ?

#2 Post by oibaf » 2023-03-07 11:00

FileZilla Server can be configured to require a minimum TLS version, not a maximum. This means that FileZilla Server will refuse to establish a connection which doesn't support a TLS version higher than or equal to than the one that FileZilla Server is instructed to require as a minimum.

Therefore, all you can do on FileZilla is to set the minimum required TLS version to 1.2. FileZilla Server will still propose to agree to TLS version 1.3, then it's up to the client to respond with its own desired version, which should then be 1.2. FileZilla Server will then agree to that.

To recap: it's the client's duty to respond to that FileZilla Server proposal appropriately.
So I tried to disable the version 1.3 and enable version 1.2 instead, by changing the registry and reboot.
There's no need to change the registry to set the minimum TLS version in FileZilla Server, you just need to do it from the Administration UI. FileZilla Server uses the registry only to store information about its own install paths and other installer-related things, not for its runtime activities. Also, there's no need to reboot.

Ateliers_CYM
504 Command not implemented
Posts: 6
Joined: 2023-03-07 10:35
First name: Cyril
Last name: Marion

Re: How to force disabling version 1.3 of TLS protocol and force version 1.2 instead on FileZilla Server ?

#3 Post by Ateliers_CYM » 2023-03-07 14:01

Thank you Fabio, for your answer.
I'ts clearer now, even if (in our case at least, where the FTP client is handmade) it should have been userful to be able to setup both minimum and maximum TLS versions in the FilezillaServer interface.
Cheers,
Cyril

User avatar
boco
Contributor
Posts: 26940
Joined: 2006-05-01 03:28
Location: Germany

Re: How to force disabling version 1.3 of TLS protocol and force version 1.2 instead on FileZilla Server ?

#4 Post by boco » 2023-03-07 15:04

It doesn't make sense to set a maximum TLS version in the server, security-wise. The other clients are working fine, why artificially downgrade them to the less-advanced TLS 1.2? The supported TLS versions must be negotiated between the client and server during the handshake, and the highest version supported by both will be used. Thus, if the client indicates that it only supports 1.2, it is automatically used.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: How to force disabling version 1.3 of TLS protocol and force version 1.2 instead on FileZilla Server ?

#5 Post by botg » 2023-03-07 16:06

In other words, if TLS 1.3 is being negotiated, it only is because the client is in fact advertising support for it.

Ateliers_CYM
504 Command not implemented
Posts: 6
Joined: 2023-03-07 10:35
First name: Cyril
Last name: Marion

Re: How to force disabling version 1.3 of TLS protocol and force version 1.2 instead on FileZilla Server ?

#6 Post by Ateliers_CYM » 2023-03-07 19:51

Thank you all, guys.
I think my problem is located somewhere else...
According to my present understanding of the siutuation (and dozens of tests on other similar setups) I think my particular Filezilla client does not get properly the server's certificate.
I made another post, this time to ask how to force the client to ask for a certificate : viewtopic.php?f=2&t=55755.
I hope to get answers (and not boring you all...)
Thaks, again,
Cheers,
Cyril

Post Reply