티스토리 뷰

Debian 6 FTP Server Proftpd Over SSL/TLS


Proftpd Over SSL/TLS

  Enable SSL/TLS on Proftpd


1. Create certificates first. check my blog.


2. Configure for SSL/TLS

root@www:~# vi /etc/proftpd/proftpd.conf 


# line 128: 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/certs/server.crt

TLSRSACertificateKeyFile /etc/ssl/certs/server.key


root@www:~# /etc/init.d/proftpd restart 

Stopping ftp server: proftpd.

Starting ftp server: proftpd.




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

 

저작자 표시 비영리 변경 금지
신고
댓글