Pure-ftpd with TLS
admin March 18th, 2008
Install
sudo emerge pure-ftpd (with SSL)
Setting
sudo vim /etc/conf.d/pure-ftpd
IS_CONFIGURED=”yes”
MISC_OTHER=”-x -R -Z –tls=2″ (2 = TLS only, 1 = TLS avaliable, 0 = plaintext)
LOG=”-f ftp” (log ’s facility name)
Gen Cert and Key
openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes