Error renew certificate Invalid response from .well-known/acme-challenge 502

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: forum-test.airtechnology.click

I ran this command: sudo certbot renew --cert-name forum-test.airtechnology.click

It produced this output:

Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:
Domain: forum-test.airtechnology.click
Type: unauthorized
Detail: 13.227.37.64: Invalid response from https://forum-test.airtechnology.click/.well-known/acme-challenge/LB41axFq5t3vaXcTzfKbLuyBT4PeOt7uYMIxeaOLzwg: 502
Hint: The Certificate Authority failed to download the challenge files from the temporary
standalone webserver started by Certbot on port 80. Ensure that the listed domains point to this machine and that it can accept inbound connections from the internet.
Failed to renew certificate forum-test.airtechnology.click with error: Some challenges have failed.

My web server is (include version): nginx/1.18.0 (Ubuntu)

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

My hosting provider, if applicable, is: AWS Lightsail

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): AWS Lightsail terminal (using ssh)

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

Hi @bongkot1, and welcome to the LE community forum :slight_smile:

I see that the HTTP challenge requests was redirected to HTTPS:

But I also see a cluster:

Name:      forum-test.airtechnology.click
Addresses: 13.32.87.5
           13.32.87.123
           13.32.87.85
           13.32.87.55

Maybe that has something to do with why it is failing.

2 Likes

Hi,

It is working now.

Thank you so much. :grinning:

1 Like

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