Certificates
THIS WORKED
- To Create the new certificate for your specific domain:
- Open Powershell ISE as admin, run the command:
- New-SelfSignedCertificate -DnsName "wgevserveralias.demo.local", "ev-server.demo.local", "localhost" -CertStoreLocation cert:\LocalMachine\My
- To trust the new certificate:
- Open mmc.exe
- Go to Console Root -> Certificates (Local Computer) -> Personal
- Select the certificate you have created, do right click -> All Tasks -> Export and follow the export wizard to create a .pfx file
- Go to Console Root -> Certificates -> Trusted Root Certification Authorities and import the new .pfx file
- To bind the certificate to your site:
- Open IIS Manager
- Select your site and choose Edit Site -> Bindings in the right pane
- Add new https binding with the correct hostname and the new certificate