I see.
Website urls are set in core_config_data table. Access your phpmyadmin and look for base_url column and change it to http:// version of your website.
Weird.
I just changed the settings in the database, yet my site still seems to enforce SSL. Rebooted my server and rebuild my Cpanel licence cache. Suddenly the admin works again.
Well, seems like it's resolved... for now.
That's weird.
All the best.
I had the same issue and this helped. I manually updated base url in the db from phpmyadmin.
and then ran
from bin folder I ran following command.
sudo php magento cache:clean
Me too! Same problem: Magento 2.2.1, after Setup Wizard Installation, no access to admin page. Then, after some database modification and cache cleaning it worked. In table core_config_data, I set '0' value to the lines where path is "web/seo/use_rewrites", "web/secure/use_in_frontend" and "web/secure/use_in_adminhtml".
Remember to clean caches after it.
This may be a narrow case, and I know this question is a bit stale at this point, but offering this in case it's helpful for anyone else. For me this issue is sometimes caused by forgetting to apply the correct setting in app/etc/config.php for
web > secure > use_in_frontend
and
web > secure > use_in_adminhtml
I work on a site where my development environment does not use SSL, while my production environment does (and also uses AutoSSL), but the app/etc/config.php file that contains these settings (once bin/magento app:config:dump has been run) is included in the repo when I move from development to production. I need to remember each time to change these two settings when moving to or from the production environment. If I forget to make the switch when moving to production, when I try to reach the admin panel I get the ERR_TOO_MANY_REDIRECTS error, though the frontend generally works fine.