Ubuntu 11.04
Sponsored Link

Proftpd Over SSL/TLS2011/05/04

  Enable SSL/TLS on Proftpd

[1] Create certificates first. See here.

[2] Configure for SSL/TLS
root@www:~#
vi /etc/proftpd/proftpd.conf


# line 135: uncomment

Include /etc/proftpd/tls.conf

root@www:~#
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


root@www:~#
service 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] Following waring is shown because certificate is own made one, but it's no ploblem. Go next.
 
[5] Just connected
 
Matched Content