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.

Hint: Enable SSL in ProFTPD

Discussion in 'General Discussion' started by natong, Dec 24, 2008.

  1. natong

    natong Well-Known Member

    Joined:
    May 17, 2008
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    1. Open configuration file.
    Code:
    nano -w /etc/proftpd.conf
    2. Add the following lines.
    Code:
    <IfModule mod_tls.c>
    TLSEngine on
    TLSRequired off
    TLSVerifyClient off
    TLSCipherSuite HIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
    TLSRSACertificateFile /etc/ftpd-rsa.pem
    TLSRSACertificateKeyFile /etc/ftpd-rsa-key.pem
    </IfModule>
    
    3. There are optional commands.
    Code:
    <Global>
    ListOptions "-a"
    AllowStoreRestart On
    TimeoutNoTransfer 1800
    TimeoutIdle 1800
    </Global>
    
    # ListOptions "-a" -- Force directory listings to always show dotfiles 
    # AllowStoreRestart On -- Allow clients to resume uploads
    
    4. Restart the service.
    Code:
    /etc/init.d/proftpd restart
    or
    Code:
    service proftpd restart 
     
  2. natong

    natong Well-Known Member

    Joined:
    May 17, 2008
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    Some useful scripts:

    /scripts/checkbsdgroups - Checks and repairs proftpd ownership on FreeBSD.
    /scripts/fixproftpdconf - Fixes problems with /usr/local/etc/proftpd.conf
    /scripts/fixproftpddupes - Updates proftpd.
    /scripts/killpvhost - Removes a virtual host from proftpd.conf.
    /scripts/proftpd128 - Installs proftpd-1.2.8.
    /scripts/rebuildhttpdconffromproftpd - Rebuild httpd.conf from the proftpd.conf file.
    /scripts/rebuildproftpd - Restore proftpd.conf from httpd.conf.
    /scripts/restartsrv_proftpd - Restart proftpd.
    /scripts/restartsrv_pureftpd - Restart pure-ftpd.
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    The first post is moot for cPanel 11.24 as TLS/SSL settings for both Pure and Pro FTPd can be configured via the WHM interface.

    Many of the scripts in your second post are old, not maintained and should not be used.
     
  4. natong

    natong Well-Known Member

    Joined:
    May 17, 2008
    Messages:
    85
    Likes Received:
    0
    Trophy Points:
    6
    After upgrade cPanel, it switched to PureFTPD.
    When I switched to ProFTPD, it couldn't enable SSL. So I manual enabled it.
     
Loading...

Share This Page