Hello everyone.
Can I make a self-signed certificate for my own domain name in IIS 7? I need it for development and testing.
I have found this utility in IIS 7, however it generates a certificate with the following canonical name CN=computer.name.domain.
, and I need it to be my custom domain, which is different from the above
But I can generate legacy certificate where CN will be dev.my.domain.com
because otherwise browser shows this error:
Thanks!
Hello.
There is one simple way:
New-SelfSignedCertificate -DnsName your.domain.name.com, localhost -CertStoreLocation cert:\LocalMachine\My
To trust the new certificate:
FavScripts.com is a free tool to save your favorite scripts and commands, then quickly find and copy-paste your commands with just few clicks.
Boost your productivity with FavScripts.com!