dotnet-dev-certs is a command line tool to generate certificates used in ASP.NET Core during development.
dotnet-dev-certs
Run dotnet dev-certs --help for more information about usage.
dotnet dev-certs --help