我正在尝试将来自 GoDaddy 的 SSL 证书添加到我的服务器,每次我生成 CSR 密钥并将其提交给 GoDaddy 时,我都会收到以下响应:“您必须对高级证书请求使用完全限定的域名。”
我需要采取哪些步骤来确保我的域完全合格?是否也可能是我的服务器配置方式的问题?
可能您在 CSR 生成过程中提供了错误的数据。需要在CN-Field 中填写您要保护的域的 FQDN 。
假设您使用 linux 和 openssl,并且您想要为其获取 SSL-Cert 的域是“www.mycooldomain.com”(带有 www. 的 SSL-Cert):
$ openssl req -new -nodes -keyout mycooldomain_com.key -out mycooldomain_com.csr -newkey rsa:2048
Run Code Online (Sandbox Code Playgroud)
然后你按回车键,必须填写必填字段:
Generating a 2048 bit RSA private key
....++++.....
writing new private key to 'mycooldomain_com.key'
-----
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) [AU]:CH
State or Province Name (full name) [Some-State]:Bern
Locality Name (eg, city) []:Bern
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Your Name / Company
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:www.mycooldomain.com
Email Address []:info@mycooldomain.com
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
Run Code Online (Sandbox Code Playgroud)
我的国家是 CH,我的州是伯尔尼,伯尔尼市也是伯尔尼市,您或您的公司的名称对我来说是空的,然后作为通用名称,您要保护的 FQDN。
归档时间: |
|
查看次数: |
6457 次 |
最近记录: |