网络系统管理技能大赛|debian-CA证书
Rserver
SSL使用RServer颁发的证书, 颁发给:
C = net
ST = China
L = ShangDong
O = skills
OU = Operations Departments
net = *.skills.net
更改/etc/ssl/openssl.cnf 配置文件
1 | vim /etc/ssl/openssl.cnf |
创建证书存放路径
1 | mkdir /CA/private -p |
生成根密钥
1 | openssl genrsa -out private/cakey.pem |
生成根证书
1 | openssl req -x509 -new -key private/cakey.pem -out cacert.pem |
启用模块
1 | a2enmod ssl |
查看证书信息
1 | openssl x509 -in cacert.pem -text -noout |