/ overriding other domain used for certificate

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: cpredict.org

I ran this command:sudo certbot renew --nginx

It produced this output:


Processing /etc/letsencrypt/renewal/cpredict.org.conf


Renewing an existing certificate for cpredict.org

Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: cpredict.org
Type: connection
Detail: 50.17.126.96: Fetching http://cpredict.org/.well-known/acme-challenge/Uie8rj9CbgZdwbOu4tqlVgyOd-iJ1DGJNcyzTkl4Ejo: Timeout during connect (likely firewall problem)

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

Failed to renew certificate cpredict.org with error: Some challenges have failed.


All renewals failed. The following certificates could not be renewed:
/etc/letsencrypt/live/cpredict.org/fullchain.pem (failure)


1 renew failure(s), 0 parse failure(s)

My web server is (include version): nginx version: nginx/1.24.0

The operating system my web server runs on is (include version): Amazon Linux 2023, a variation of Fedora

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

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

I don't know what your title means by "/ overriding other domain"

But, Certbot is trying to renew a cert you got before. It uses the same method as when you got the cert. In your case that's an HTTP Challenge using the --nginx plugin.

That failed because your port 80 is now blocked. Likely by a firewall but perhaps by your EC2 Security Group settings. Check those and any firewalls you created or changed since you got the cert.

4 Likes

Sorry should've explained that. What I meant is when I hit the link that certbot is trying to hit I get redirected to my flask app that is supposed to serve only https traffic, this is the URL: http://cpredict.org/.well-known/acme-challenge/Uie8rj9CbgZdwbOu4tqlVgyOd-iJ1DGJNcyzTkl4Ejo

But you were spot on , SG was blocking 80.It got renewed now

1 Like

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