Hi folks,
I've filled in all the information from the help template below, but let me add a little more context.
I am able to successfully renew a cert if I point my A record straight to an origin in us-east-2. However, if I add AWS global accelerator into the mix, renewal fails.
What's intriguing to me is that while the dry-run is happening, I can curl the challenge at the challenge location just fine. E.g. if certbot adds:
rewrite ^(/.well-known/acme-challenge/.*) $1 break; # managed by Certbot
...
location = /.well-known/acme-challenge/zCs<snip> {
default_type text/plain;
return 200 zCs-tW<snip>UF
} # managed by Certbot
I can curl from my machine (SF) https://api.aiproxy.pro/.well-known/acme-challenge/zCs and get back the 200 and associated text
I'm wondering if it's because global accelerator uses two IPs?
Template below. Thank you,
Lou
My domain is:
api.aiproxy.pro
I ran this command:
/opt/certbot/bin/certbot renew --reuse-key --nginx --dry-run --no-random-sleep-on-renew
It produced this output:
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: api.aiproxy.pro
Type: connection
Detail: 3.33.194.222: Fetching http://api.aiproxy.pro/.well-known/acme-challenge/w2oc7PMhFsndgmGYVdBQGQ8MiebLzm9EKxELvSw3CaQ: 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 api.aiproxy.pro with error: Some challenges have failed.
My web server is (include version):
nginx version: nginx/1.26.3
The operating system my web server runs on is (include version):
AL2023
uname -a
Linux ip-172-31-7-39.us-east-2.compute.internal 6.1.84-99.169.amzn2023.aarch64 #1 SMP Mon Apr 8 19:19:24 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
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.10.0