Too many redirects after enabling https

Maybe you can extend doctor to warn, or we can add a stop warning in setup, when people put uppercase characters in the domain name?