Tuesday, March 1, 2022

How To Setup Pure-FTPD On Rocky Linux 8.5 with SSL/TLS Certificates

 in This Tutorial you will Learn " How To Setup Pure-FTPD On Rocky Linux 8.5 with SSL/TLS Certificates"

Pure-FTPd is a free (BSD license) FTP Server with a strong focus on software security.
Secure Sockets Layer (SSL) is an encryption security protocol. TLS stands for Transport Layer Security.
Rocky Linux is an open-source enterprise operating system designed to be 100% bug-for-bug compatible with Red Hat Enterprise Linux®.
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      |    IP -192.168.1.20        |     Hostname - www.primaryhost.com
_________________________________________________________________________________________
cat /etc/system-release ; sestatus ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y
dnf install epel-release -y
dnf install pure-ftpd -y
cd /etc/pki/tls/certs ; openssl req -x509 -nodes -newkey rsa:2048 -keyout pure-ftpd.pem -out pure-ftpd.pem -days 3650
chmod 600 pure-ftpd.pem ; nano /etc/pure-ftpd/pure-ftpd.conf
TLS   
CertFile                     /etc/pki/tls/certs/pure-ftpd.pem
systemctl restart pure-ftpd
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Pure-FTPD FTP Client : Rocky Linux
cat /etc/system-release ; sestatus ; hostname -I
dnf -y install lftp
nano ~/.lftprc
set ftp:ssl-auth TLS
set ftp:ssl-force true
set ftp:ssl-protect-list yes
set ftp:ssl-protect-data yes
set ftp:ssl-protect-fxp yes
set ssl:verify-certificate no
lftp -u debs 192.168.1.20
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



No comments:

Post a Comment