Add ssl Support For vsftpd-Linux Enterprise Application-Linux server application information. For more information, see. For the transmission of some important/confidential files, the use of ordinary ftp plain text transmission may cause information leakage, so the use of ssl encrypted transmission is a better
Solution.
Case: freebsd + vsftpd 2.03 + ssl
Vsftpd2.03 has been installed previously. Now you need to add ssl support. Switch to the root permission:
1. Install openssl,
Root # cd/usr/ports/security/openssl
Root # make install clean
2. reinstall vsftpd2.03 and add ssl support.
Root #/cd/usr/ports/ftp/vsftpd/
Root # make deinstall
I don't know what the ssl compilation parameters are? View the Makefile file.
Root # more Makefile
A row is displayed.
. If! Defined (WITHOUT_SSL) & defined (WITH_VSFTPD_SSL)
These two lines force non-anonymous users to use encrypted login and data transmission. If they are set to NO, users can choose to encrypt or not encrypt them.
Rsa_cert_file =/usr/share/ssl/vsftpd. pem
Specify the certificate path
Default Value: =/usr/share/ssl/certs/vsftpd. pem
5. Restart vsftpd and use the client for testing.
Take FileZilla as an example. Change the Servertype from ftp to FTP over SSL (explicit encryption), modify transmission Mode Edit-> Settings-> Firewall settings, and select Passive Mode (if ftp is inside the Firewall) fileZilla is an open-source ftp client, which is very useful. Haha.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.