生成server证书 tips : common name 填写本地 IP 地址 !【图中箭头部分】 创建私钥genrsa -out server/server-key.pem 1024 创建证书请求req -new -out server/server-req.csr -key server/server-key.pem 自签署证书x509 -req -in server/server-req.csr -out server/server-cert.pem -signkey server/se...
countryName_default = CN stateOrProvinceName = Beijing stateOrProvinceName_default = Beijing localityName = Beijing localityName_default = Beijing organizationName = WangAo organizationName_default = WangAo organizationalUnitName = Dev organizationalUnitName_default = Dev commonName = test.openssl.com co...
有时候,在网站中,即使 common name 和域名是一样的,浏览器仍然会提示NET::ERR_CERT_COMMON_NAME_INVALID错误。这是因为证书没有正确的嵌入域名信息。 请创建一个文件~/private/server.dns.ext,然后使用记事本或者nano,vim,vsc等软件打开,粘贴以下信息: keyUsage = nonRepudiation, digitalSignature, keyEncipherment...
State or Province Name (full name) [Some-State]:. Locality Name (eg, city) []:London Organization Name (eg, company) [Internet Widgits Pty Ltd]:Feisty Duck Ltd Organizational Unit Name (eg, section) []: Common Name (e.g. server FQDN or YOUR name) []:www.feistyduck.com Email Addre...
0.commonName = Common Name (eg, your name or your server\'s hostname) 0.commonName_max = 64 1.commonName = other Common Name 1.commonNAme_max = 64 ... 其他的步骤: openssl.cnf中会要求部分文件及目录存在: [root@localhost]#mkdir -p CA/{certs,crl,newcerts,private} [root...
localityName = optional organizationName = optional organizationalUnitName = optional commonName = supplied emailAddress = optional 在生成证书之前需要用上面的配置覆盖系统中openssl.cnf文件中的相关配置。 RootCA 根CA证书生成脚本gen_rootca.sh脚本内容如下: ...
Common Name (e.g. server FQDN or YOUR name) []:jpserver.test.com Email Address []:xdyixia@163.com Please enter the following 'extra' attributes to be sent with your certificate request A challenge password []:. An optional company name []:. ...
这里需要填一些国家、省份、城市、公司等信息,其中CommonName是必填项,填写域名或IP地址,即为需要设成下载证书才能访问的url,也就是我们要设定的https网站 3. CA为服务器签署证书,生成server.crt 在D:\Apache\Apache\bin目录下执行:openssl ca -in server.csr -out server.crt -cert ca.crt -keyfile ca.key...
当使用openssl生成证书签名请求时,需要输入证书的唯一标识信息(Distinguished Name),其中重要的一项是常见名(Common Name),它应当是你要部署证书的主机的域名全称(FQDN)。 DN中的其他条目用来提供关于你的机构的额外信息。如果你在从证书颁发机构购买SSL证书,那么通常也需要这些额外的字段,例如组织机构(Organization),以便...
openssl req -nodes -newkey rsa:4096 -keyout my.domain.com.key -out my.domain.com.csr Filling in request form, for Common name, it asks me to insert FQDN (Which ends with DOT in the end, as per FQDN syntax). However if you fill this field...