Skip to main content

Pure-FTPD cannot connect w. TLS/SSL

Comments

10 comments

  • cPanelMichael
    Hello :) Please browse to "WHM Home " Service Configuration " FTP Server Configuration", and set "Broken Clients Compatibility" to "Yes" in order to see if this addresses the problem. Thank you.
    0
  • ronaldst
    I'm afraid not. I've scratched my eyes out trying to figure this out. Have submitted a support ticket and one of the cPanel members are having a look at it. Status: Resolving address of ftp.mydomain.com Status: Connecting to 104.XXX.XXX.XXX:21... Status: Connection established, waiting for welcome message... Status: Initializing TLS... Error: Connection timed out after 20 seconds of inactivity Error: Could not connect to server
    0
  • cPanelMichael
    Could you let us know the ticket number so we can update this thread with the outcome? Thank you.
    0
  • ronaldst
    This problem is now solved. I am not sure I know the exact details but the very helpful cPanel tech told me he fixed missing dh params file and restarted pure-ftpd. Ticked ID 7472203
    0
  • cPanelMichael
    I am happy to see the issue is now resolved. To update, the following commands were ran to address the issue:
    openssl dhparam -out /etc/ssl/private/pure-ftpd-dhparams.pem 2048 /scripts/restartsrv_pureftpd
    Thank you.
    0
  • durangod
    I just tried running the command line command and when i restarted pure ftpd i got this Sep 27 11:01:24 hostname pure-ftpd: (?@xx.xx.xx.xxx) [WARNING] Authentication failed for user [username]
    this user is a reseller and also on the wheel and is /bin/false after i restarted it again that message was not there.
    0
  • durangod
    Edited the pure ftpd config file, pam auth did not work said unknown authentication, but unix authentication got me logged in but i am nowhere directory wise, i am at / and there is nothing there but 4 strange files, no root directory no nothing, cant go anywhere.
    0
  • cPanelMichael
    New Edited the pure ftpd config file, pam auth did not work said unknown authentication, but unix authentication got me logged in but i am nowhere directory wise, i am at / and there is nothing there but 4 strange files, no root directory no nothing, cant go anywhere.

    Could you provide some more information on how you changed the FTP configuration file? Ensure you follow the steps at: FTP FAQ - Documentation - cPanel Documentation Thanks!
    0
  • durangod
    It was wiped yesterday sorry, but i do remember at first i uncommented pam, then i put it back and uncommented unix. Ill have to find the webpage i looked at for this in order to remember more, sorry, yesterday was a bad day :)
    0
  • cPanelMichael
    It was wiped yesterday sorry, but i do remember at first i uncommented pam, then i put it back and uncommented unix. Ill have to find the webpage i looked at for this in order to remember more, sorry, yesterday was a bad day :)

    Let us know if the issue persists, and ensure to follow the guide in the link referenced on my last response when modifying the FTP configuration. Thank you.
    0

Please sign in to leave a comment.