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

解决办法

  1. 运行输入certmgr.msc
  2. 在个人,受信任的根证书颁发机构内删除颁发给localhost的所有证书
  3. 执行dotnet dev-certs https -t
  4. 重启vs即可
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!