CentOS7配FTPS:
yum install vsftpd
vi /etc/vsftpd/vsftpd.conf
ssl_enable=YES
allow_anon_ssl=NO
#force_local_data_ssl=YES
#force_local_logins_ssl=YES
rsa_cert_file=/etc/vsftpd/ssl/aa.crt
rsa_private_key_file=/etc/vsftpd/ssl/aa.key
#ssl_sslv2=YES #ssl_sslv3=YES
pasv_enable=YES
pasv_max_port=17500
pasv_min_port=2000
systemctl restart vsftpd
验证: windows使用winscp工具,协议:FTP 加密:SSL显式加密
开启隐式ssl(一般不建议开启):
implicit_ssl=YES
listen_port=990
验证: windows使用winscp工具,协议:FTP 加密:SSL/TLS隐式加密
标签:加密,ssl,vsftpd,etc,CentOS7,FTPS,YES,port From: https://blog.51cto.com/yangzhiming/6389210