Creating a self-signed cert for localhost
From Logic Wiki
Revision as of 09:29, 31 August 2021 by AliIybar (Talk | contribs) (Created page with "Category:ssl == Windows == First use the command in PowerShell as administrator: New-SelfSignedCertificate -DnsName "localhost" -CertStoreLocation "cert:\LocalMachine\My...")
Windows
First use the command in PowerShell as administrator:
New-SelfSignedCertificate -DnsName "localhost" -CertStoreLocation "cert:\LocalMachine\My"
Then go to:
File -> Add or Remove Snap-ins -> Certificates -> Add -> Computer account -> Local computer. Click Finish.
Expand the Personal folder and you will see your localhost certificate:
Copy the certificate into Trusted Root Certification Authorities - Certificates folder.