首页 » 操作系统 » Linux » 正文

vsftpd 启用 TLS SSL

发布者:站点默认
2016/08/18 浏览数(1,981) 分类:Linux vsftpd 启用 TLS SSL已关闭评论

vsftpd在版本2.0.1开始,就支持ssl

查看 vsftpd 版本: vsftpd -v

步骤:

mkdir /etc/vsftpd/sslkey
cd /etc/vsftpd/sslkey
openssl req -new -x509 -nodes -out vsftpd.pem -keyout vsftpd.pem -days 3650

vi /etc/vsftpd/vsftpd.conf

# 添加:
ssl_enable=YES
ssl_tlsv1=YES
ssl_ciphers=HIGH
force_local_logins_ssl=NO
force_local_data_ssl=NO
allow_anon_ssl=YES
rsa_cert_file=/etc/vsftpd/sslkey/vsftpd.pem
:wq

service vsftpd reload

<完>

点击返回顶部
  1. 留言
  2. 联系方式