Create Self-Signed certificate for a domain
The following PowerShell script can be used to create self-signed certificate for specific domain or sub domain.
New-SelfSignedCertificate -DnsName mysite.company.com -CertStoreLocation cert:\LocalMachine\My
Then export certificate thru IIS --> Server Certificates and import to Trusted Root Certificates store.
Open Manage Computer Certificates on Windows Server 2012 to launch certificates store.
New-SelfSignedCertificate -DnsName mysite.company.com -CertStoreLocation cert:\LocalMachine\My
Then export certificate thru IIS --> Server Certificates and import to Trusted Root Certificates store.
Open Manage Computer Certificates on Windows Server 2012 to launch certificates store.
Comments
Post a Comment