I am trying to register my domain with an SSL certificate. When I run the command sudo certbot --apache -v it times out.
This is the output when I ran sudo netstat -anp | grep apache:
--- START ---
tcp6 0 0 :::443 :::* LISTEN 1104/apache2
tcp6 0 0 :::80 :::* LISTEN 1104/apache2
--- END ---
My domain is: kaischmidt.ca
I ran this command: sudo certbot --apache -v
It produced this output:
--- START ---
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
1: kaischmidt.ca
2: www.kaischmidt.ca
Select the appropriate numbers separated by commas and/or spaces, or leave input
blank to select all options shown (Enter 'c' to cancel):
Requesting a certificate for kaischmidt.ca and www.kaischmidt.ca
Performing the following challenges:
http-01 challenge for kaischmidt.ca
http-01 challenge for www.kaischmidt.ca
Enabled Apache rewrite module
Waiting for verification...
Challenge failed for domain kaischmidt.ca
Challenge failed for domain www.kaischmidt.ca
http-01 challenge for kaischmidt.ca
http-01 challenge for www.kaischmidt.ca
Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: kaischmidt.ca
Type: connection
Detail: 2607:fea8:999f:5100:d63d:7eff:fe55:594f: Fetching http://kaischmidt.ca/.well-known/acme-challenge/fkvDPENa-UbzkZeNQ392HMc5Tgr-LgoHo4eVjC9OiBU: Timeout during connect (likely firewall problem)
Domain: www.kaischmidt.ca
Type: connection
Detail: 2607:fea8:999f:5100:d63d:7eff:fe55:594f: Fetching http://www.kaischmidt.ca/.well-known/acme-challenge/y20Amrt9jRsa4njeYokGy9c9TPISnHPxaLNR5owMFAI: Timeout during connect (likely firewall problem)
Hint: The Certificate Authority failed to verify the temporary Apache configuration changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.
Cleaning up challenges
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
--- END ---
My web server is (include version): Apache/2.4.52 (Ubuntu)
The operating system my web server runs on is (include version): Server version: Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-53-generic x86_64)
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