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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    185
    Likes Received:
    6
    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:
    42,734
    Likes Received:
    1,706
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

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

    Thank you.
     
  3. jimlongo

    jimlongo Well-Known Member

    Joined:
    Mar 20, 2008
    Messages:
    185
    Likes Received:
    6
    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:
    185
    Likes Received:
    6
    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:
    42,734
    Likes Received:
    1,706
    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.
     
Loading...

Share This Page