我到处搜索,虽然我有一个有效的证书,但总是要求安装证书。
"Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.\nTo generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'.\nFor more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054
我所做的
1-多次删除钥匙链。
3-证书测试
A valid HTTPS certificate is already present .
4-我做到了
dotnet dev-certs https --clean
dotnet dev-certs https
然后
dotnet dev-certs https --trust
和
A valid HTTPS certificate is already present.
仍然无法运行MVC web应用程序。错误再次出现。