自签名证书 SAN 属性
self-signed certificate SAN property
我想为我的网站制作一个自签名证书。我把它做得像 link here 但该站点适用于 chrome 版本 57 或更早版本。所以它适用于 chrome 版本 57 但不适用于 58。我读到我需要为 58 或更高版本添加 SAN 属性。
我想问一下我需要在哪里添加 SAN 属性 以及如何添加?
你可以做到with powershell。如文档中所述
This example creates a self-signed SSL server certificate in the computer MY store with the Subject Alternative Name set to www.fabrikam.com, www.contoso.com and Subject and Issuer name set to www.fabrikam.com.
New-SelfSignedCertificate -DnsName www.fabrikam.com, www.contoso.com -CertStoreLocation cert:\LocalMachine\My
如果出于某种原因您需要自定义证书超过 New-SelfSignedCertificate
可以处理您可以使用 XCA. It is built on top of OpenSSL and by default has template for SSL server. Documentation can be found here.
我想为我的网站制作一个自签名证书。我把它做得像 link here 但该站点适用于 chrome 版本 57 或更早版本。所以它适用于 chrome 版本 57 但不适用于 58。我读到我需要为 58 或更高版本添加 SAN 属性。
我想问一下我需要在哪里添加 SAN 属性 以及如何添加?
你可以做到with powershell。如文档中所述
This example creates a self-signed SSL server certificate in the computer MY store with the Subject Alternative Name set to www.fabrikam.com, www.contoso.com and Subject and Issuer name set to www.fabrikam.com.
New-SelfSignedCertificate -DnsName www.fabrikam.com, www.contoso.com -CertStoreLocation cert:\LocalMachine\My
如果出于某种原因您需要自定义证书超过 New-SelfSignedCertificate
可以处理您可以使用 XCA. It is built on top of OpenSSL and by default has template for SSL server. Documentation can be found here.