Never Nop Tech

Never Nop Tech


macOS dotnet https 簽章重簽


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.

  1. Go into Keychain Access
  2. Unlock System Keychain
  3. Delete the localhost certificate
  4. Run 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