easy-rsa2的使用

简介: 使用easy-rsa

安装

apt-get install easy-rsa

dpkg -L easy-rsa

cd /usr/share/easy-rsa
AI 代码解读

配置环境

vi vars

. vars

./clean-all
AI 代码解读

执行clean-all会创建keys目录,生成的证书会放在keys下。

# 创建CA秘钥和证书
./build-ca

# 创建秘钥交换key  -- 可能会运行几分钟
./build-dh

# 创建服务器秘钥和证书
./build-key-server sv

# 创建客户端秘钥和证书
./build-key client1
AI 代码解读
目录
打赏
0
0
0
0
1
分享
相关文章
RSA2048与RSA3072的闲言碎语
RSA2048与RSA3072的闲言碎语
383 0
使用 Python 实现 RSA 加密
使用 Python 实现 RSA 加密
174 2
jsch 报错 no matching host key type found. Their offer: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha> 如何处理
【5月更文挑战第24天】jsch 报错 no matching host key type found. Their offer: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha> 如何处理
784 1
openssl win10安装 生成开发者 RSA 私钥 、公钥
openssl win10安装 生成开发者 RSA 私钥 、公钥
111 1
Unable to negotiate with 127.0.0.1 port 29215: no matching host key type found. Their offer: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha> 解决
【5月更文挑战第5天】Unable to negotiate with 127.0.0.1 port 29215: no matching host key type found. Their offer: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha> 解决
488 7
jsch 报错 no matching host key type found. Their offer: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha>问题处理方法
【5月更文挑战第10天】jsch 报错 no matching host key type found. Their offer: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha>问题处理方法
408 0
no matching host key type found. Their offer: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha> 问题解决
【5月更文挑战第8天】no matching host key type found. Their offer: ssh-rsa,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha> 问题解决
2196 0
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等