Ошибка сертификата Localhost SSL в Visual Studio 2022 .NET 6

In case we need to recreate the development localhost SSL certificate from scratch, the simplest thing is to use the appropriate command provided by the dotnet CLI:

> dotnet dev-certs https --trust
Itchy Ibex