Certbot fails to authorize

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: lutitious.dev

I ran this command: sudo certbot --dry-run certonly --standalone

It produced this output:

Certbot failed to authenticate some domains (authenticator: standalone). The Certificate Authority reported these problems:
  Domain: lutitious.dev
  Type:   unauthorized
  Detail: 44.227.76.166: Invalid response from http://lutitious.dev/: "\n<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n\n<!-- Global site tag (gtag.js) - Google Analytics -->\n<script async src=\"https://www"

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.

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.

log: 2024-07-24 20:17:12,245:DEBUG:certbot._internal.main:certbot version: 2.11.020 - Pastebin.com

My web server is (include version): n/a

The operating system my web server runs on is (include version): fedora 40

My hosting provider, if applicable, is: porkbun.com

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

Firstly, Certbot does not "fail to authorize". Certbot is just the ACME client to interface with the ACME server. It's the ACME server doing the authorisation attempts.

Further more, on which server are you running Certbot? Because your domain name has two IP addresses configured: 44.227.65.245 and 44.227.76.166, both being Amazon IP addresses.

And there are "openresty" webservers listening. So I'm curious why you're using the standalone plugin.

3 Likes

oops looks like i clicked the wrong button in my domain management page and messed up the nameservers so it pointed to the wrong ip. It should be fixed and point correctly to my ip now which is 86.9.199.147

2 Likes

figured it out. it was dns. its always dns

2 Likes

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