简体   繁体   English

PowerShell 新自签名证书 IP 地址

[英]PowerShell New-​Self​Signed​Certificate ip address

I am using New-​Self​Signed​Certificate to create ​certificate used for development purposes.我正在使用新自签名证书来创建用于开发目的的证书。 I was able to create one for "DNS Name=localhost".我能够为“DNS Name=localhost”创建一个。 I also want to support ip address range something like "IP.1 = 192.168. . " but i don't know how to pass it to the command?我也想支持诸如“IP.1 = 192.168 .. ”之类的 ip 地址范围,但我不知道如何将其传递给命令? Is this supported at all?这完全支持吗?

IP address ranges are not supported by SAN extension (it is supported only in Name Constraints extension). SAN 扩展不支持 IP 地址范围(仅名称约束扩展支持)。 When specifying an IP Address in the SAN, you have to specify unicast address.在 SAN 中指定 IP 地址时,必须指定单播地址。 If you have multiple addresses, you have to explicitly specify all these addresses.如果您有多个地址,则必须明确指定所有这些地址。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 生成由 Powershell 中的根证书签名的自签名证书 - Generate A Self Signed Certificate Signed By An Root Certificate in Powershell Powershell创建新的自签名证书。 根CA证书:绝对不能存在extendedKeyUsage。 - Powershell creating new self signed certificate. Root CA Certificate: extendedKeyUsage MUST NOT be present.t 使用PowerShell创建自签名证书 - Using PowerShell to Create Self-Signed Certificate 无法使用 Powershell 生成自签名证书 - Unable to generate self signed certificate using Powershell 是否可以使用自签名证书连接到 MsolService(powershell)? - Is it possible to connect to MsolService (powershell) using self signed certificate? Powershell 生成的自签名证书不包含私钥 - Powershell Generated Self Signed Certificate Doesn't Include Private Key 使用PowerShell创建2048位长的自签名证书 - Using PowerShell to Create Self-Signed Certificate of 2048 bits length 如何使用Powershell通过https将自签名证书发送给客户端 - How to send a self signed certificate to clients over https with powershell 从powershell创建自签名的iis ssl证书 - Create self signed iis ssl certificate from powershell PowerShell代码Sigining:如何使用具有密码保护的自签名证书? - PowerShell Code Sigining: How to do use a self signed certificate with password protection?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM