India English
Kenya English
United Kingdom English
South Africa English
Nigeria English
United States English
United States Español
Indonesia English
Bangladesh English
Egypt العربية
Tanzania English
Ethiopia English
Uganda English
Congo - Kinshasa English
Ghana English
Côte d’Ivoire English
Zambia English
Cameroon English
Rwanda English
Germany Deutsch
France Français
Spain Català
Spain Español
Italy Italiano
Russia Русский
Japan English
Brazil Português
Brazil Português
Mexico Español
Philippines English
Pakistan English
Turkey Türkçe
Vietnam English
Thailand English
South Korea English
Australia English
China 中文
Canada English
Canada Français
Somalia English
Netherlands Nederlands

How to install TLS for FTP on CWP

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

Author

× WhatsApp us