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

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

My custom optimized build of PHP 5.5 & PHP 5.4