My domain is: https://tianyi.codes
I ran this command: certbot --apache
It produced this output: a file named 000-default-le-ssl.conf
My web server is (include version): apache 2.4.29
The operating system my web server runs on is (include version): Ubuntu 18.04 LTS
My hosting provider, if applicable, is: alicloud
I can login to a root shell on my machine (yes or no, or I don’t know): yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): XShell6
The version of my client is (e.g. output of
certbot --version or
certbot-auto --version if you’re using Certbot): 0.31.0
this might be a dumb question.
so after running certbot --apache, I got an error “redirect too many times” when I go to my site.
I fixed it by comment out the redirect line in 000-default-le-ssl.conf.
Since it is a configuration file for :443 port, which stands for an HTTPS request, the thing that makes me curious is why is there a redirect to https url? In what case is that gonna be used?
Thanks for your time!!