From dcb0b8f4f71a7b8cd2e41ec261c9d48460056fde Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Wed, 15 Jul 2020 19:38:42 +0200 Subject: [PATCH] Update proftpd tls.conf template * Use Mozilla SSL Configuration Generator --- wo/cli/templates/proftpd-tls.mustache | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/wo/cli/templates/proftpd-tls.mustache b/wo/cli/templates/proftpd-tls.mustache index 6e3f9cf..928df55 100644 --- a/wo/cli/templates/proftpd-tls.mustache +++ b/wo/cli/templates/proftpd-tls.mustache @@ -1,12 +1,20 @@ -TLSEngine on -TLSLog /var/log/proftpd/tls.log -TLSProtocol TLSv1.2 -TLSCipherSuite AES256+EECDH:AES256+EDH -TLSOptions NoCertRequest AllowClientRenegotiations NoSessionReuseRequired -TLSRSACertificateFile /etc/proftpd/ssl/proftpd.crt -TLSRSACertificateKeyFile /etc/proftpd/ssl/proftpd.key + +TLSEngine on +TLSRequired on +TLSLog /var/log/proftpd/tls.log + +# intermediate configuration from ssl-config.mozilla.org +TLSProtocol TLSv1.2 TLSv1.3 +TLSCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384 +TLSServerCipherPreference off +TLSessionTickets off +TLSOptions NoCertRequest AllowClientRenegotiations NoSessionReuseRequired + +TLSRSACertificateFile /etc/proftpd/ssl/proftpd.crt +TLSRSACertificateKeyFile /etc/proftpd/ssl/proftpd.key + TLSVerifyClient off -TLSRequired on RequireValidShell no + \ No newline at end of file