Hacker News new | ask | show | jobs
by jspaetzel 1045 days ago
So many things require HTTPS now I always use HTTPS during development with local certs via mkcert
2 comments

For Windows/PowerShell users:

    New-SelfSignedCertificate -CertStoreLocation Cert:\CurrentUser\My -DnsName "localhost"
https://learn.microsoft.com/en-us/powershell/module/pki/new-...
It's a good practice but worth noting that almost all web platforms features that require a secure context work on localhost without HTTPS