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:
There is one simple way:
New-SelfSignedCertificate -DnsName your.domain.name.com, localhost -CertStoreLocation cert:\LocalMachine\My
To trust the new certificate: