01.openssl-创建证书签名请求
来源:互联网 发布:移动4g网络怎么设置dns 编辑:程序博客网 时间:2024/05/16 18:51
1.Creating Certificate Signing Requests
openssl req -new -key fd.key -out fd.csr
2.After a CSR is generated, use it to sign your own certificate and/or send it to a public CA
and ask it to sign the certificate.
openssl req -text -in fd.csr -noout
3.openssl x509 -x509toreq -in fd.crt -out fd.csr -signkey fd.key
4.添加以下内容到fd.cnf
[req]
prompt = no
distinguished_name = dn
req_extensions = ext
input_password = PASSPHRASE
[dn]
CN = www.feistyduck.com
emailAddress = webmaster@feistyduck.com
O = Feisty Duck Ltd
L = London
C = GB
[ext]
subjectAltName = DNS:www.feistyduck.com,DNS:feistyduck.com
5.openssl req -new -config fd.cnf -key fd.key -out fd.csr
6签署自己的证书
openssl req -new -x509 -days 365 -key fd.key -out fd.crt 或
openssl req -new -x509 -days 365 -key fd.key -out fd.crt -subj “/C=GB/L=London/O=Feisty Duck Ltd/CN=www.feistyduck.com”
7.创建对多个主机名有效的证书
openssl x509 -req -days 365 -in fd.csr -signkey fd.key -out fd.crt -extfile fd.ext
8.检查证书
openssl x509 -text -in fd.crt -noout
- 01.openssl-创建证书签名请求
- openssl创建自签名证书
- openssl创建自签名证书
- openssl证书请求和自签名
- openssl req 证书请求及自签名证书
- openssl req 证书请求及自签名证书
- 使用OpenSSL创建CA根证书及自签名
- 用OpenSSL生成CA根证书来签名Keytool生成的证书请求
- 用openssl自签名证书
- openssl自签名的证书
- openssl keytool 制作签名证书
- OpenSSL生成自签名证书
- openssl生成自签名证书
- openssl 生成自签名证书
- 使用OPENSSL创建证书
- openssl创建证书
- 【OpenSSL】创建证书
- openssl创建证书
- python工具代码之身份证校验持续更新:【内向即失败--王奕君】
- mysql基本数据类型和引擎
- springmvc基础-2
- 每日总结
- 第八周 项目1-建立顺序串的算法库
- 01.openssl-创建证书签名请求
- 字符串
- 416. Partition Equal Subset Sum
- BETA CAE Systems 18官方版下载附安装教程
- CodeForces
- zedboard与linux系统ping通的问题?
- C语言中字符串与整数的相互转换
- MySql知识点总结
- POJ-2536 Gopher II(二分图最大匹配)