Я не могу использовать https с моим веб-API, поэтому я попытался запустить эту команду:
dotnet dev-certs https --trust
Но я получил эту ошибку:
Trusting the HTTPS development certificate was requested. A confirmation prompt will be displayed if the certificate was not previously trusted. Click yes on the prompt to trust the certificate.
There was an error trusting HTTPS developer certificate.
Я также пытался очистить и создать новый
dotnet dev-certs https -v
The HTTPS developer certificate was generated successfully.
Но все еще сталкивается с той же проблемой. Я не вижу сертификат локального хоста в CurrentUser \ Personal \ Certificates