[Aspire] Run session could not be started

Error details

Run session could not be started:failed to connected to IDE run session notification endpoint:tls:failed to verify certificate: x509: certificate has expired or is not yet valid

image

Solution

Running the dotnet dev-certs commands below to re-generate a self-signed certificate to enable HTTPS use in development.

dotnet dev-certs https --clean
dotnet dev-certs https --trust
dotnet dev-certs https --check

Refrences

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-dev-certs

posted @ 2024-07-01 15:16  马行空的博客  阅读(98)  评论(0)    收藏  举报
🧘 切换专注禅模式(隐藏侧边栏纯享阅读)Z
◐ 切换浅色 / 深色外观T
⚙️ 进入博客园后台管理Admin