[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
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
作者: 马行空的博客
出处: https://www.cnblogs.com/netry/p/18278124/aspire_session_not_started
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文链接。