#1
  1. No Profile Picture
    Permanently Banned
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2007
    Location
    Tacoma, WA
    Posts
    199
    Rep Power
    0

    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
    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:
    /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?
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2010
    Posts
    14
    Rep Power
    0
    It could be your firewall blocking the port 990

    Have you tried connecting on your ftp in the same box?
  4. #3
  5. They're coming to take me away

    Join Date
    Jan 2005
    Location
    Florida
    Posts
    5,105
    Rep Power
    5049
    Originally Posted by Weekend Coder
    I have ensured ports 990 and 991 are open...
    Try ports 989 and 990.
    "I don't need to get a life. I'm a gamer. I have lots of lives!"

IMN logo majestic logo threadwatch logo seochat tools logo