Trust .NET Core Dev Certificates

07 October 2020

Updated: 03 September 2023

When developing .NET Core web applications with HTTPS, to simplifiy your experience and avoid browser warnings you can trust the .NET Core dev certs on your local device with the followning commands:

Terminal window
1
dotnet dev-certs https --clean
2
dotnet dev-certs https --trust