Enabling Pure-ftpd TLS

Tell pure-ftpd to accept tls connections
echo 1 > /etc/pure-ftpd/conf/TLS

Setup your certificate

mkdir -p /etc/ssl/private

openssl req -x509 -nodes -newkey rsa:1024 -keyout \
/etc/ssl/private/pure-ftpd.pem \
-out /etc/ssl/private/pure-ftpd.pem

chmod 600 /etc/ssl/private/*.pem

Restart pure-ftpd

/etc/init.d/pure-ftpd restart



Popular posts from this blog

Building XtraBackup for Mac OSX

waoo port forwarding broken

How to compile Percona XtraDB Cluster 5.6 on Ubuntu 14.04 Trusty Tahr