Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

FTP fails because of SSL certificate?

Discussion in 'Security' started by jimlongo, Mar 19, 2018.

  1. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    193
    Likes Received:
    7
    Trophy Points:
    68
    I seem to be having difficulties connecting via FTP on port 21.

    The message depending on client usually runs along the lines of "SSL certificate failed to load or verify".

    I've tried connecting to the domain and the IP, always the same message.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Do you notice any particular output to /var/log/messages when this happens?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    193
    Likes Received:
    7
    Trophy Points:
    68
    nothing noteable

    Code:
    Mar 20 16:02:03 vps pure-ftpd: (?@127.0.0.1) [INFO] New connection from 127.0.0.1
    Mar 20 16:02:03 vps pure-ftpd: (?@127.0.0.1) [INFO] __cpanel__service__auth__ftpd__SGuRhZE1JOVLszz9pNzhK7BXGjggWeCEr3NQ7eLqIL1OpE2u09Taf24XLcZ1USPQ is now logged in
    Mar 20 16:02:03 vps pure-ftpd: (__cpanel__service__auth__ftpd__SGuRhZE1JOVLszz9pNzhK7BXGjggWeCEr3NQ7eLqIL1OpE2u09Taf24XLcZ1USPQ@127.0.0.1) [INFO] Logout.
    
     
  4. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    193
    Likes Received:
    7
    Trophy Points:
    68
    Does auto SSL not provision a ftp.domain.com cert?
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    FTP does not support serving domain-specific certificates in response to TLS SNI requests.There's an open feature request for this functionality at:

    SNI support for FTP

    In the meantime, the best approach to avoid that warning message is to connect to FTP using the hostname referenced for the FTP service in "WHM Home » Service Configuration » Manage Service SSL Certificates". Can you verify if that solves the error message you are encountering?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. janipewter

    janipewter Member

    Joined:
    Jan 2, 2013
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Is there any update on this? It would be great if cPanel supported TLS SNI for FTP connections. All of my clients get certificate warnings in Filezilla when connecting to FTP if they use their own domain, as the server presents only a certificate for the server's hostname.
     
  7. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    703
    Likes Received:
    114
    Trophy Points:
    168
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    No:

    SNI support for FTP

    but in most cases the FTP client gives you the ability to click OK and logs you right in. The connection is still encrypted.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,711
    Likes Received:
    1,794
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @janipewter,

    As noted by @Jcats, there's no update to report at this time. That said, there's some recent discussion of this topic over on the feature request:

    SNI support for FTP

    I encourage you to vote and add your feedback to the feature request if you'd like to see it implemented.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice