Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found
I am on OSX and
dotnet dev-certs https --clean and
sudo dotnet dev-certs https --clean were not working for me. Finally I was able to fix it with the following steps.
- Go into Keychain Access
- Unlock System Keychain
- Delete the
dotnet dev-certs https -t
You should now be able to run without the error.
If, after following the above answer, you do run into an error that reads
There was an error saving the HTTPS developer certificate... check out this answer