April 23rd, 2010, 12:24 AM
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):
| ldd /usr/sbin/vsftpd | grep libssl |
Then I make the cert:
| 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:
| ssl_enable=YES |
Now I restart:
| /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):
| Status: Connecting to xxx.xxx.xxx.xxx:990... |
Error: Connection timed out
Error: Could not connect to server
What can it be?