Моя ОС - Ubuntu 18.04
Без sudo не работает
$ dotnet dev-certs https
There was an error saving the HTTPS developer certificate to the current user personal certificate store.
если я использую
$ sudo dotnet dev-certs https
Хорошо, но запускаю только программу mvc без sudo, я получаю
crit: Microsoft.AspNetCore.Server.Kestrel[0]
Unable to start Kestrel.
System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found.
To generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'.