System.InvalidOperationException: Unable to configure HTTPS endpoint.
System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.
To generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'.
Solution:
1. Open certmgr.msc (Current User)
2. Delete all localhost certs at:
- Current User Trusted Root Certification Authorities/Certificates
- Personal/Certificates
Hope it can help.
Post a Comment
Thank for leaving message