Fork me on GitHub

.Net6 Unable to configure HTTPS endpoint. No server certificate was spec 开发者证书过期或无效

1.删除无效的证书

右键都删除

2.cmd窗口输入以下命令    

dotnet dev-certs https
dotnet dev certs https--trust

3.附其他

dotnet dev-certs https --clean  清理开发人员证书命令

 

posted @ 2023-12-19 14:31  WantRemake  阅读(261)  评论(0编辑  收藏  举报