Unable to renew certificate with certbot renew

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: preview.monkeylabs.com.au

I ran this command: certbot renew (also as sudo)

It produced this output:

Certbot failed to authenticate some domains (authenticator: apache). The Certifi cate Authority reported these problems:
Domain: preview.monkeylabs.com.au
Type: connection
Detail: 18.140.206.162: Fetching http://preview.monkeylabs.com.au/.well-known/ acme-challenge/1giHAE46IvYPg_78vk657v-QK9B_UAloiIkii1NwCC0: Timeout during conne ct (likely firewall problem)

Hint: The Certificate Authority failed to verify the temporary Apache configurat ion changes made by Certbot. Ensure that the listed domains point to this Apache server and that it is accessible from the internet.

Failed to renew certificate preview.monkeylabs.com.au with error: Some challenge s have failed.


All renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/preview.monkeylabs.com.au/fullchain.pem (failure)


My web server is (include version): Apache/2.4.41 (Ubuntu)

The operating system my web server runs on is (include version): Ubuntu 20.04.6 LTS (Focal Fossa)

My hosting provider, if applicable, is: AWS

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, do not have access

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): certbot 2.10.0

Welcome @a.dipietrantonio

It looks like port 80 has been blocked by a firewall or perhaps an EC2 Security Group rule. Port 443 works fine (apart from the expired cert).

Did you maybe change that after you got your original cert?

# port 443 (https)
curl -Ik https://preview.monkeylabs.com.au
HTTP/1.1 200 OK

# port 80 (http)
curl -I -m8 http://preview.monkeylabs.com.au
curl: (28) Connection timed out after 8000 milliseconds
3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.