I installed a certificate, and now when I bring up the site in any browser or cli wget I get the too many redirects. An example of:
All the other answers seem to be for nginx, not apache2.
Thank you!!!!
:/$ wget raqia.org
--2021-12-03 03:24:43-- http://raqia.org/
Resolving raqia.org (raqia.org)... 45.32.222.167
Connecting to raqia.org (raqia.org)|45.32.222.167|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raqia.org/ [following]
--2021-12-03 03:24:43-- https://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://raqia.org/ [following]
--2021-12-03 03:24:43-- http://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raqia.org/ [following]
--2021-12-03 03:24:43-- https://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://raqia.org/ [following]
--2021-12-03 03:24:43-- http://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raqia.org/ [following]
--2021-12-03 03:24:43-- https://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://raqia.org/ [following]
--2021-12-03 03:24:43-- http://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raqia.org/ [following]
--2021-12-03 03:24:43-- https://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://raqia.org/ [following]
--2021-12-03 03:24:43-- http://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raqia.org/ [following]
--2021-12-03 03:24:43-- https://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://raqia.org/ [following]
--2021-12-03 03:24:43-- http://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raqia.org/ [following]
--2021-12-03 03:24:43-- https://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://raqia.org/ [following]
--2021-12-03 03:24:43-- http://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raqia.org/ [following]
--2021-12-03 03:24:43-- https://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://raqia.org/ [following]
--2021-12-03 03:24:43-- http://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raqia.org/ [following]
--2021-12-03 03:24:43-- https://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://raqia.org/ [following]
--2021-12-03 03:24:43-- http://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raqia.org/ [following]
--2021-12-03 03:24:43-- https://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://raqia.org/ [following]
--2021-12-03 03:24:43-- http://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raqia.org/ [following]
--2021-12-03 03:24:43-- https://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://raqia.org/ [following]
--2021-12-03 03:24:43-- http://raqia.org/
Connecting to raqia.org (raqia.org)|45.32.222.167|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://raqia.org/ [following]
20 redirections exceeded.
Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: raqia.org
I ran this command: installed cert
It produced this output: it stated cert was issued
My web server is (include version): apache2
The operating system my web server runs on is (include version): ubuntu 21.10
My hosting provider, if applicable, is: vultr
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): no
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 1.21.0