2011年7月6日 星期三

vsftpd+TLS

Add the following lines to vsftpd.conf:



ssl_enable=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO

allow_anon_ssl=YES
force_local_data_ssl=NO
force_local_logins_ssl=NO

rsa_cert_file=/path/to/your/certificate
rsa_private_key_file=/path/to/your/private/key



/usr/local/ssl/bin/openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout /etc/vsftpd.pem -out /etc/vsftpd.pem





技術 - vsftpd+TLS 實現安全FTP資料傳輸
http://forum.slime.com.tw/thread191637.html

Configuring vsftpd for secure connections (TLS/SSL/SFTP)
http://wiki.vpslink.com/Configuring_vsftpd_for_secure_connections_%28TLS/SSL/SFTP%29

Vsftpd SSL / TLS FTP Server Configuration
http://www.cyberciti.biz/tips/configure-vsfptd-secure-connections-via-ssl-tls.html

Manpage of VSFTPD.CONF
http://vsftpd.beasts.org/vsftpd_conf.html

Chapter 14 - FTP Server
http://www.brennan.id.au/14-FTP_Server.html

沒有留言: