diff --git a/rootfs/etc/confd/templates/proftpd.conf.tmpl b/rootfs/etc/confd/templates/proftpd.conf.tmpl index 7a443e3..d25eec7 100644 --- a/rootfs/etc/confd/templates/proftpd.conf.tmpl +++ b/rootfs/etc/confd/templates/proftpd.conf.tmpl @@ -23,8 +23,8 @@ PassivePorts {{getenv "PASSIVE_LOWER_BOUND"}} {{getenv "PASSIVE_UPPER_BOUND"}} TLSProtocol {{getenv "TLS_PROTOCOL" "TLSv1.2"}} TLSRequired on - TLSRSACertificateFile /etc/ssl/proftp/fullchain.pem - TLSRSACertificateKeyFile /etc/ssl/proftp/privkey.pem + TLSRSACertificateFile /etc/ssl/proftp/{{getenv "CERT_NAME" "fullchain.pem"}} + TLSRSACertificateKeyFile /etc/ssl/proftp/{{getenv "KEY_NAME" "privkey.pem"}} TLSVerifyClient off TLSServerCipherPreference on