Admin-Ahead Community

General Category => General Discussion => Topic started by: Mridula on March 01, 2015, 12:08:21 pm

Title: Enable SSL/TLS on ProFTPD
Post by: Mridula on March 01, 2015, 12:08:21 pm
Enable SSL/TLS on ProFTPD

1. Create Certificate.
2. Enable SSL/TLS on ProFTPD.

vi /etc/proftpd/proftpd.conf

# line 138: uncomment
Include /etc/proftpd/tls.conf

vi /etc/proftpd/tls.conf

# line 10,11,12: uncomment
TLSEngine       on
TLSLog             /var/log/proftpd/tls.log
TLSProtocol     SSLv23

# line 27,28: uncomment and specify certificates
TLSRSACertificateFile            /etc/ssl/private/server.crt
TLSRSACertificateKeyFile     /etc/ssl/private/server.key

/etc/init.d/proftpd restart
 * Stopping ftp server proftpd
   ...done.
 * Starting ftp server proftpd
   ...done.

3. Configure on client PC. Use FileZilla that has a function of connecting trough SSL/TLS. Open [File]-[Site Manager] and input login info, and select 'TLS/SSL' in 'Server Type'.
4. Input user name and password.
5. Just connected.