I installed Visual Studio 2022 and created a Blazor web assembly project. When I started the application, Visual Studio 2022 prompted to trust the self signed certificate that ASP.NET Core has generated. Please refer below screen shot:
After I clicked "Yes" then it generated error "Failed trusting the certificate" as shown in below screen shot:
Please help me to fix the error. I have also tried following command but it did not fix my issue:
dotnet dev-certs https --trustNote: Visual Studio 2019 is also installed on my machine i.e. currently I am having both VS2019 and VS2022 installed on my machine.

