New Certificate Windows
New-SelfSignedCertificate -DnsName *.mydomainname.local -CertStoreLocation cert:\LocalMachine\My -TestRoot
Select a result to preview
New-SelfSignedCertificate -DnsName *.mydomainname.local -CertStoreLocation cert:\LocalMachine\My -TestRoot