I came across this particular issue when my Mac’s account was changed from a domain associated account to a local user account. Among many other things, my dotnet aspnet core web api was failing to run at the start with the error that said “Unable to configure HTTPS endpoint.