大网数据广告活动
网站运营与故障问答

How to disable TLSv1.0 and TLSv1.1 in VSFTPD on Debian 10 Buster?

· 52CE 我爱测

I'm done with the insecure FTP and serve only FTP over SSL in my VSFTPD on Debian 10 Buster. The man page is not clear at all as per my question: How do I disable the 20 years old TLSv1.0 and also the 13 years old TLSv1.1 in my V…

问题原文

原帖链接 · Vlastimil Burián · CC BY-SA 4.0

I'm done with the insecure FTP and serve only FTP over SSL in my VSFTPD on Debian 10 Buster.


The man page is not clear at all as per my question:

How do I disable the 20 years old TLSv1.0 and also the 13 years old TLSv1.1 in my VSFTPD on Debian 10 Buster and keep only TLSv1.2?


PS: With the new coming up standard - TLSv1.3 - it also comes to my mind how to enable it?

已采纳解答

原帖链接 · Vlastimil Burián · CC BY-SA 4.0

The following might look strange as it does not allow any protocol; But it actually does allow TLSv1.2 + TLSv1.3:

Disallow the the oldest SSLv2 and SSLv3 protocols with:

ssl_sslv2=NO
ssl_sslv3=NO

Disallow the already being deprecated TLSv1.0 protocol with:

ssl_tlsv1=NO

This will automatically enable the newer protocol TLSv1.2 and even the latest TLSv1.3! (If that is supported by your system.)

Note, that you also need to specify ciphers which are to be used, I use only AES-256 ciphers, so feel free to tune this to your needs:

ssl_ciphers=ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA

You might need to verify your setup afterwards. I personally use High-Tech Bridge SSL tester for FTP since you can specify the port there.


Example result with the above settings:

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2019-03-13)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。