The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FTP with TLS/SSL not working?

Discussion in 'General Discussion' started by santrix, Sep 10, 2009.

  1. santrix

    santrix Well-Known Member

    Nov 30, 2008
    Likes Received:
    Trophy Points:
    I have installed a rapidssl certificate for all my services and everything works fine, but FTP is not playing ball. I have installed a certificate against the hostname but when I try to connect using an FTP client, it connects, but then doesn't seem to be able to enumerate the directory/files. This is the log from the connect session... any clues? I'm trying to connect as FTP with TLS/SSL. The other option in my FTP client doesn't even connect.

    I'm not sure how to test this from the command line as I am unaware of a command line method of connecting to FTP with SSL.

    Transmit 3.6.7 Session Transcript
    LibNcFTP 3.2.1 (August 13, 2007) compiled for UNIX
    Uname: Darwin|mymac1.local|9.8.0|Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386|i386
    220: --------- Welcome to Pure-FTPd [TLS] ----------
    You are user number 3 of 50 allowed.
    Local time is now 20:42. Server port: 21.
    This is a private system - No anonymous login
    IPv6 connections are also welcome on this server.
    You will be disconnected after 15 minutes of inactivity.
    Connected to
    Cmd: AUTH TLS
    234: AUTH TLS OK.
    Cmd: USER myusername
    331: User myusername OK. Password required
    Cmd: PASS xxxxxxxx
    230: User myusername has group access to: myusername
    OK. Current restricted directory is /
    Cmd: TYPE A
    200: TYPE is now ASCII
    Logged in to vps1. as myusername.
    Cmd: PBSZ 0
    Cmd: PROT P
    534: PBSZ=0
    Fallback to [C]
    Cmd: SYST
    215: UNIX Type: L8
    Cmd: PWD
    257: "/" is your current location
    Cmd: PASV
    227: Entering Passive Mode (213,133,XXX,XXX,149,107)
  2. thewebhosting

    thewebhosting Well-Known Member

    May 9, 2008
    Likes Received:
    Trophy Points:
    Are you receiving anything related to this in /var/log/secure file? if yes, then please paste over here. It will give better idea.
  3. santrix

    santrix Well-Known Member

    Nov 30, 2008
    Likes Received:
    Trophy Points:
    nothing in secure... it's not SSH based... although in /var/log/messages, all I see is:

    Sep 10 20:42:06 vps1 pure-ftpd: (?@84.13.XXX.XXX) [INFO] New connection from 84.13. XXX.XXX
    Sep 10 20:42:06 vps1 pure-ftpd: (?@84.13. XXX.XXX) [INFO] SSL/TLS: Enabled TLSv1/SSLv3 with AES256-SHA, 256 secret bits cipher
    Sep 10 20:42:07 vps1 pure-ftpd: (?@84.13. XXX.XXX) [INFO] useraccount is now logged in


Share This Page