贫民窟里的程序高手

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

vi req.cnf

[ req ]
distinguished_name = req_distinguished_name
req_extensions = v3_req
prompt = no

[ req_distinguished_name ]
C = CN
ST = Shandong
L = Yantai
O = Jiafang
OU = IT
CN = *.jiafang.com

[ v3_req ]
keyUsage = critical, digitalSignature, keyAgreement
extendedKeyUsage = serverAuth
subjectAltName = @alt_names


[ alt_names ]
DNS.1 = esigndev.jiafang.com
DNS.2 = eimpdev.jiafang.com
DNS.3 = *.jiafang.com
IP.1 = 10.10.112.153
openssl req -new -key server.key -out server.csr -config req.cnf
posted on 2022-11-23 20:15  贫民窟里的程序高手  阅读(214)  评论(0编辑  收藏  举报