update
This commit is contained in:
parent
a64b8a4343
commit
ab8978ba68
@ -31,9 +31,13 @@ vpn 客户端 | vpn-client | CentOS7 | 192.168.1.91
|
||||
# vars 文件包含证书相关配置,可修改
|
||||
cp /usr/share/doc/easy-rsa-3.0.3/vars.example /opt/easy-rsa/vars
|
||||
```
|
||||
- 修改 /opt/easy-rsa/pki/safessl-easyrsa.conf 中如下配置,增加证书有效时间为 10 年
|
||||
```
|
||||
default_days = 3650
|
||||
default_crl_days= 3650
|
||||
```
|
||||
- 初始化 pki 目录结构
|
||||
```bash
|
||||
cd /opt/easy-rsa
|
||||
./easyrsa init-pki
|
||||
```
|
||||
- 生成免密 ca 证书
|
||||
|
Loading…
x
Reference in New Issue
Block a user