add tls config
This commit is contained in:
parent
406b247a66
commit
f9461f3d80
@ -20,19 +20,16 @@ PassivePorts {{getenv "PASSIVE_LOWER_BOUND"}} {{getenv "PASSIVE_UPPER_BOUND"}}
|
|||||||
|
|
||||||
<IfModule mod_tls.c>
|
<IfModule mod_tls.c>
|
||||||
TLSEngine on
|
TLSEngine on
|
||||||
TLSProtocol TLSv1.2
|
TLSProtocol {{getenv "TLS_PROTOCOL" "TLSv1.2"}}
|
||||||
TLSRequired on
|
TLSRequired on
|
||||||
|
|
||||||
TLSRSACertificateFile /etc/ssl/proftp/fullchain.pem
|
TLSRSACertificateFile /etc/ssl/proftp/fullchain.pem
|
||||||
TLSRSACertificateKeyFile /etc/ssl/proftp/provkey.pem
|
TLSRSACertificateKeyFile /etc/ssl/proftp/privkey.pem
|
||||||
|
|
||||||
# CA the server trusts
|
|
||||||
TLSCACertificateFile /etc/ftpd/root.cert.pem
|
|
||||||
|
|
||||||
TLSVerifyClient off
|
TLSVerifyClient off
|
||||||
TLSServerCipherPreference on
|
TLSServerCipherPreference on
|
||||||
TLSSessionCache internal: 1800
|
TLSSessionCache internal: 1800
|
||||||
TLSCipherSuite AES128+EECDH:AES128+EDH
|
TLSCipherSuite {{getenv "TLS_CIPHERS" "AES128+EECDH:AES128+EDH"}}
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
<IfModule mod_ldap.c>
|
<IfModule mod_ldap.c>
|
||||||
|
Loading…
Reference in New Issue
Block a user