ftptlError: while trying FTP or SFTP on CWP
Status: Connection established, waiting for welcome message…
Status: Insecure server, it does not support FTP over TLS.
Here are a few steps to take to solve the error and allow ftp and sftp on a Centos // CWP control panel
- 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