Comments on How To Configure PureFTPd To Accept TLS Sessions On CentOS 5.5

How To Configure PureFTPd To Accept TLS Sessions On CentOS 5.5 FTP is a very insecure protocol because all passwords and all data are transferred in clear text. By using TLS, the whole communication can be encrypted, thus making FTP much more secure. This article explains how to configure PureFTPd to accept TLS sessions on a CentOS 5.5 server.

1 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Nick H

I'm using CentOS v7.1 and have pure-ftpd (from the EPEL repository) installed. The location of the private key and certificate with this configuration is "/etc/pki/pure-ftpd/pure-ftpd.pem". So, to generate a self signed SSL certificate the command would be "openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -keyout /etc/pki/pure-ftpd/pure-ftpd.pem -out /etc/pki/pure-ftpd/pure-ftpd.pem". You should probably also run "chmod 600 /etc/pki/pure-ftpd/pure-ftpd.pem" just to be safe.