当前位置:网站首页>debian vsftpd + ssl
debian vsftpd + ssl
2022-07-30 05:49:00 【大大大大小小】
0.前提条件是,假设debian系统已经安装并配置好vsftpd
1.安装组件:
#apt-get install openssl
2.生成证书文件:
进入目录/etc/ssl/certs/,执行命令
#openssl req -new -x509 -nodes -out vsftpd.pem -keyout vsftpd.pem
3.修改配置文件
vim /etc/vsftpd.conf,添加以下内容(已经存在的项忽略)
ssl_enable=YES
ssl_sslv2=YES
force_local_data_ssl=YES
force_local_logins_ssl=YES
rsa_cert_file=/etc/ssl/certs/vsftpd.pem
注:
ssl_enable=YES 支持加密协议。
ssl_sslv2=YES 支持安全套接字层 v2
force_local_data_ssl=YES
force_local_logins_ssl=YES
这两行强制非匿名用户使用加密登陆和数据传输,如果设定为NO,则用户可以选择加密,也可以不加密。
rsa_cert_file=/etc/ssl/certs/vsftpd.pem 证书的存放路径
4.重启vsftpd
#/etc/init.d/vsftpd restart
原文链接:https://blog.csdn.net/xiliuhu/article/details/5273934
边栏推荐
- 图计算101:图计算的类型、语言与系统
- GNNLab:基于空间共享思想设计的新型 GNN 系统
- 基于 JupyterLab 插件在 GraphScope 中交互式构图
- D-Desthiobiotin Amine_D-脱硫生物素-胺相关的产品性质
- prometheus-basic_auth加密配置
- prometheus监控minio
- Application of graph computing in network security analysis
- GAIA-IR:GraphScope 上的并行化图查询引擎
- Waterfall flow (custom layout implementation)
- Test and Development Engineer Growth Diary 009 - Environment Pai Pai Station: Development Environment, Test Environment, Production Environment, UAT Environment, Simulation Environment
猜你喜欢

instantDrag for Maya脚本 (移动模型时沿目标模型移动)

多线程进阶(CountDownLatch,死锁,线程安全集合类)

测试开发工程师成长日记001 - 敏捷测试、CI/CD/CT、DecOps的一些介绍

含 3 个单元 PEG 的 ADC linker的PC DBCO-PEG3-Biotin

prometheus监控minio

测试开发工程师成长日记009 - 环境排排站:开发环境、测试环境、生产环境、UAT环境、仿真环境

掌握JESD204B(一)–AD6676的调试

prometheus-federation-tls加密

图扑数字孪生煤矿开采系统,打造采煤“硬实力”

Test Development Engineer Growth Diary 003 - Interface Automation Framework Construction
随机推荐
【JVM】线上应用故障排查
Mastering JESD204B (2) – Debugging of AD6676
05-Theos
Ingress:从静态图分析到动态图分析
Graph analysis like NetworkX with GraphScope
openstack删除计算节点
instantDrag for Maya脚本 (移动模型时沿目标模型移动)
Devops基本概念和原理
如何将modelsim仿真数据存成文件
Redis6的数据类型
基于精灵(Sprite)管道烟雾流动效果
Unity Shader的结构与语义
用于标记蛋白质和抗体的Biotin-LC-Sulfo-NHS|CAS:191671-46-2
02-Cycript的使用
prometheus监控minio
rsync使用方法之坑
Unity Shader 标准光照模型
Vineyard: 开源分布式内存数据管理框架
THREEJS导入外部OBJ+MTL后内存优化
【无标题】