TrustyWolf
2014-11-28 18:19:21 +08:00
关于csr的生成,以下命令可供参考:(Linux环境,按照步骤操作即可生成*.abc.com的申请文件)
openssl genrsa -out abc.com.key 2048
openssl req -key abc.com.key -out abc.com.csr
运行中会提示输入一些 Distinguished Name fields,即证书的识别名信息字段,简称为DN字段,如下:(此例仅供参考)
You are about to be asked to enter information that will be incorporated into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [GB]:US
State or Province Name (full name) [Berkshire]:California
Locality Name (eg, city) [Newbury]:
Organization Name (eg, company) [My Company Ltd]:GeoAuth Inc.
Organizational Unit Name (eg, section) []:.
Common Name (eg, your name or your server's hostname) []:*.abc.com
Email Address []:.
还有两行 直接回车即可