Hello - Unable to create ssl cert after expiration

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:lesbequettes.fr

I ran this command:sudo certbot --apache

It produced this output:Requesting a certificate for lesbequettes.fr

Certbot failed to authenticate some domains (authenticator: apache). The Certificate Authority reported these problems:
Domain: lesbequettes.fr
Type: connection
Detail: 82.67.67.201: Fetching http://lesbequettes.fr/.well-known/acme-challenge/kuRNLSQYewHqPW9WEu5D6OB22bDkoCGmrIm-GC6n9xc: 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.

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.

My web server is (include version):Apache/2.4.61 (Debian)

The operating system my web server runs on is (include version):Debian 12

My hosting provider, if applicable, is:

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):certbot 2.11.0

Welcome to the community @bruno-lesbequettes

Looks like HTTP requests to your domain on port 80 do not reach your Apache server. Instead, requests are timing out.

This is most often because of a firewall blocking port 80. Check for that. Also check that your router and any other network config properly direct port 80 to your Apache. Check that your ISP is not blocking port 80 (some residential ISP do this).

HTTPS requests on port 443 reach your Apache just fine. So make sure port 80 is handled similar.

I see HTTPS requests reach your Apache but it is using a self-signed cert (raspberrypi) and not the most recent Let's Encrypt cert. Have you reconfigured your system recently? If so, review all the changes carefully.

Let's Debug is an excellent site to test changes to your configuration.

5 Likes

Thank you Mike for your quick response :slight_smile:

After checking my config, I see that port 80 was not open. Il open it, and I had no trouble to load the Let's Encrypt cert. My site is back :-).
.
Best regards.

2 Likes