FTP : Vsftpd Over SSL/TLS2026/06/01 |
|
Configure Vsftpd to use SSL/TLS. |
|
| [1] | |
| [2] | Configure Vsftpd. |
|
root@www:~#
vi /etc/vsftpd.conf # line 150 : change like follows rsa_cert_file=/etc/ssl/private/server.crt rsa_private_key_file=/etc/ssl/private/server.key ssl_enable=YES ssl_ciphers=HIGH force_local_data_ssl=YES force_local_logins_ssl=YESroot@www:~# systemctl restart vsftpd
|
FTP Client : Ubuntu |
|
Configure FTP Client to use FTPS connection. |
|
| [3] | Install FTP Client on Ubuntu and configure like follows. |
|
ubuntu@client:~$
vi ~/.lftprc
# create new
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 ubuntu www.srv.world Password: lftp ubuntu@www.srv.world:~> |
FTP Client : Windows |
| [4] | For example of FileZilla on Windows, Open [File] - [Site Manager]. |
|
| [5] | Input connection information like follows, and for encryption field, select [Use explicit FTP over TLS if available]. |
|
| [6] | If you set self-signed certificate, following warning is shown, it's no problem. Go next. |
|
| [7] | If settings are OK, it's possible to connect to FTP server with FTPS like follows. |
|
| Sponsored Link |
|
|