Créer le certificat et la clé :
openssl req -new -x509 -nodes -days 365 -out /etc/ssl/certs/proftpd.cert.pem -keyout /etc/ssl/certs/proftpd.key.pem
Configurer proftpd :
<IfModule mod_tls.c> TLSEngine on # Authenticate clients that want to use FTP over TLS? TLSVerifyClient off # Are clients required to use FTP over TLS when talking to this server? TLSRequired on TLSLog /var/log/proftpd/tls.log TLSProtocol SSLv23 TLSOptions NoCertRequest # Server's certificate TLSRSACertificateFile /etc/ssl/certs/proftpd.cert.pem TLSRSACertificateKeyFile /etc/ssl/certs/proftpd.key.pem </IfModule>