Remove & Generate SSL self-signed certificates for Local/Dev System via Dev Command Prompt.

image.png

  • 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.
    dotnet dev-certs https --trust
    
    Source https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-dev-certs