Nigeria
Kenya
South Africa
China
India
United States
Indonesia
Brazil
Egypt
Tanzania
Ethiopia
Uganda
Congo, Dem. Rep.
Ghana
Cote d'Ivoire
Cameroon
Rwanda
Germany
France
Spain
United Kingdom
Italy
Russia
Japan
Bangladesh
Mexico
Philippines
Pakistan
Turkey
Thailand
Korea, (South)
Netherlands

Here are a few steps to take to solve the error and allow ftp and sftp on a Centos // CWP control panel

 

  1. What you require: Ensure the Hostname SSL Certificate is already installed – check this files exist to confirm it has been installed:

/etc/pki/tls/private/hostname.key
/etc/pki/tls/certs/hostname.crt

2. Create SSL Certificate File for pure-ftpd service

cat /etc/pki/tls/private/hostname.key > /etc/pki/tls/private/pure-ftpd.pem
cat /etc/pki/tls/certs/hostname.crt >> /etc/pki/tls/private/pure-ftpd.pem
chmod 600 /etc/pki/tls/private/pure-ftpd.pem

3. Open and Edit the File: /etc/pure-ftpd/pure-ftpd.conf

Copy paste or set the values:

TLS 1
TLSCipherSuite HIGH
CertFile /etc/pki/tls/private/pure-ftpd.pem

4. What is  TLS 1 any other options :
TLS 0 : disable SSL/TLS encryption layer (default on install).
TLS 1 : accept both traditional and encrypted sessions.
TLS 2 : refuse connections that don’t use SSL/TLS security mechanisms, including anonymous sessions.

From Centos 7.0.9 using the following command to install TLS:

sh /scripts/install_pure-ftpd_tls

Bonus : Connecting on FTP Client   – like Filezilla
Host: ftps://HOSTNAME
Username: USERNAME
Password: PASSWORD
Port: 21

× WhatsApp us