Sunday, February 19, 2012

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



Enjoy.

No comments:

Post a Comment