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

waoo port forwarding broken

My custom optimized build of PHP 5.5 & PHP 5.4

phpMyAdmin - The plain HTTP request was sent to HTTPS port