简体   繁体   中英

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". 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? Is this supported at all?

IP address ranges are not supported by SAN extension (it is supported only in Name Constraints extension). When specifying an IP Address in the SAN, you have to specify unicast address. If you have multiple addresses, you have to explicitly specify all these addresses.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM