
April 22nd, 2010, 11:24 PM
|
|
Permanently Banned
|
|
Join Date: Sep 2007
Location: Tacoma, WA
|
|
|
Trying to get FTPS to work with vsftpd
I have vsftpd installed on CentOS5.
I want to use FTPS (FTP over SSL).
First I made sure my vsftpd was compiled with the SSL libraries (it was): Quote: | ldd /usr/sbin/vsftpd | grep libssl | Then I make the cert: Quote: | openssl req -x509 -nodes -days 365 -newkey rsa:1024 \ -keyout /etc/vsftpd/vsftpd.pem \ -out /etc/vsftpd/vsftpd.pem | Then I add the correct directives to the vsftpd.conf file: Quote: ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=NO
force_local_logins_ssl=NO
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
rsa_cert_file=/etc/vsftpd/vsftpd.pem | Now I restart: Quote: | /etc/rc.d/init.d/vsftpd restart | I have ensured ports 990 and 991 are open...
Yet this is what I'm getting from my FTP client (FileZilla): Quote: Status: Connecting to xxx.xxx.xxx.xxx:990...
Error: Connection timed out
Error: Could not connect to server | What can it be?
|