[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  水口寺下  阅读(20)  评论(0编辑  收藏  举报