在学习IdentityServer4 的时候访问https://localhost:5001/.well-known/openid-configuration 出现证书不受信任的情况
执行dotnet dev-certs https --trust
Trusting the HTTPS development certificate was requested. A confirmation prompt will be displayed if the certificate was not previously trusted. Click yes on the prompt to trust the certificate.
但是依然无效,通过浏览器地址栏左侧检查证书,发现证书不正确
在“控制面板”——“”管理用户证书“——”个人“——”证书“中发现多个”localhost"的证书将其全部删除,运行项目,重新生成证书后问题解决。
如果有其它解决方法,欢迎留言