Proftp used to transfer data’s same as other FTP servers locally and remotely. By default, proftp comes without a secure method of transfer. To get more secure way to transfer we need to configure with TLS/SSL certificates.

Install the OpenSSL package to create certificate files

# sudo apt-get install openssl -y

Install the Proftpd package using

# sudo apt-get install proftpd -y

Create the certificate file using

# sudo openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/ssl/proftpd.pem -out /etc/ssl/proftpd.pem

Change the permission for the certificate file Only read/write for Root user

# sudo chmod 600 proftpd.pem

In Line 138 uncomment

# Include /etc/proftpd/tls.conf


# ServerType standalone

Check for the following contents and change according to our need

TLSEngine on
TLSLog /var/log/proftpd/tls.log
TLSProtocol SSLv23
TLSRSACertificateFile /etc/ssl/proftpd.pem
TLSRSACertificateKeyFile /etc/ssl/proftpd.pem
TLSOptions NoCertRequest
TLSVerifyClient off
TLSRequired on
TLSRenegotiate required off

Check the Syntax error using

# sudo proftpd -t

Restart the service to get activated

# sudo service proftpd restart

We have configured SSL certificate to authenticate in a secure way to transfer data’s.

Babin Lonston
Overall 13+ Years of experience in IT field, 7+ years of experience in Linux administration with Virtualization & Cloud technologies. Love documentation and being Numismatics for a long time.

Install and configure Logwatch in Ubuntu-Server

Previous article

Installing Monit in Ubuntu Servers

Next article

You may also like


Leave a reply

Your email address will not be published.