解决dotnet错误 System.InvalidOperationException Message=Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found.

开始=》设置=》manage user certificats  (管理用户证书),里面所有的.net core的全部删除

然后控制台执行:

dotnet dev-certs https --clean

dotnet dev-certs https --trust

 

 

参考:https://www.davidyardy.com/blog/getting-started-vuejs-wvisual-studio-aspnet-core-1/

posted @ 2019-12-04 13:33  uniqs  阅读(1801)  评论(0)    收藏  举报