Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found 解决办法
时间:2021-01-11 11:29:01
收藏:0
阅读:0
问题
每次vs重启都提示安装证书,即使执行dotnet dev-certs https --clean,dotnet dev-certs https -t然后重启vs也不行。
环境
win10, vs2019
解决办法
- 运行输入certmgr.msc
- 在个人,受信任的根证书颁发机构内删除颁发给localhost的所有证书
- 执行dotnet dev-certs https -t
- 重启vs即可
评论(0)