Install dotnet localhost ssl certificate for development

Install trusted localhost certificate

dotnet dev-certs https --trust

Confirm when pop up shows up.

Restart browser and browse to https://locahost:5001, or whatever localhost url, and ssl warning is gone.