How to Install vsftpd Centos/RHEL/Fedora
vsftpd, which stands for “Very Secure FTP Daemon”, is an FTP server for Unix-like systems, including Linux. It is licensed under the GNU General Public License. It supports IPv6 and SSL.
vsftpd supports explicit (since 2.0.0) and implicit (since 2.1.0) FTPS.
In July 2011 it was discovered that vsftpd version 2.3.4 downloadable from the master site had been compromised. Users logging into an instance of the compromised vsftpd-2.3.4 may issue a “:)” smileyface as the username and gain a command shell on a high tcp port. This was not an issue of a security hole in vsftpd, instead, someone had uploaded a different version of vsftpd which contained a backdoor.
Let show you how to install VSFTPD in centos with SSl certification:
Install vsftpd with
tyn install vsftpd
Check the ssl
ldd /usr/sbin/vsftpd | grep ssl
This suitable command is for creating your certificates
[bash]# openssl req -x509 -nodes -days 730 -newkey rsa:1024
Check your Certificate :
openssl x509 -in /etc/pki/tls/certs/vsftpd.pem -noout -text
Change owner chip of the file
chmod 600 /etc/pki/tls/certs/vsftpd.pem
Connect to the FTP Server via Command line or Via FTP Client (windwos or Linux)