Hint: Enable SSL in ProFTPD

natong

Well-Known Member
May 17, 2008
89
1
58
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
 

natong

Well-Known Member
May 17, 2008
89
1
58
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.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,608
77
458
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.
 

natong

Well-Known Member
May 17, 2008
89
1
58
After upgrade cPanel, it switched to PureFTPD.
When I switched to ProFTPD, it couldn't enable SSL. So I manual enabled it.