FTPS otherwise called FTPES, FTP-SSL is an extension to the commonly used File Transfer Protocol (FTP) that adds support for the Transport Layer Security (TLS) and the Secure Sockets Layer (SSL) cryptographic protocols. FTP is essentially a fairly unstable protocol. Add TLS support to prevent your sessions from being vulnerable to man-in-the-middle attacks.
- Configureing the pure-ftpd
# vi /etc/pure-ftpd.conf
# openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -keyout /etc/ssl/private/pure-ftpd.pem -out /etc/ssl/private/pure-ftpd.pem
State or Province Name (full name) []: <-- Please enter your State or Province Name.
Locality Name (eg, city) [Default City]: <-- Please enter your City.
Organization Name (eg, company) [Default Company Ltd]: <-- Please enter your Organization Name (e.g., the name of your company).
Organizational Unit Name (eg, section) []:<-- Please enter your Organizational Unit Name (e.g. "IT Department").
Common Name (eg, your name or your server's hostname) []:<-- Please enter the Fully Qualified Domain Name of the system (e.g. "server1.example.com").