Photo by Markus Spiske on Unsplash
Remove & Generate SSL self-signed certificates for Local/Dev System via Dev Command Prompt.
- Check for the presence of a development certificate, and create one in the default certificate store if one doesn't exist yet. But don't trust the certificate.
dotnet dev-certs https
- Remove any development certificates that already exist on the local machine.
dotnet dev-certs https --clean
- Trusts the certificate on the local machine.
Source https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-dev-certsdotnet dev-certs https --trust