My domain is: chrisvdw.net
/ www.chrisvdw.net
I ran this command: sudo certbot --nginx -d chrisvdw.net -d www.chrisvdw.net
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Requesting a certificate for chrisvdw.net and www.chrisvdw.net
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: chrisvdw.net
Type: unauthorized
Detail: 2a01:4f8:d0a:27bd::2: Invalid response from http://chrisvdw.net/.well-known/acme-challenge/gvhNYjMBINqsNcRqLn34-MCk3yX8FQBMO39xiSPibyE: 404
Domain: www.chrisvdw.net
Type: unauthorized
Detail: 2a01:4f8:d0a:27bd::2: Invalid response from http://www.chrisvdw.net/.well-known/acme-challenge/2mkbrTB3ACA2ngKJp0wHm6gQnqkDIWSrI0KWGXEF5Bc: 404
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.
Some challenges have failed.
My web server is (include version): nginx/1.24.0 (Ubuntu)
The operating system my web server runs on is (include version): Ubuntu 24.04.1 LTS
My hosting provider, if applicable, is: Hetzner
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.9.0
Additional information:
- https://letsdebug.net/ says that all looks good
- My
ufw
settings match the ones in the this tutorial - For certbot, I was following this tutorial
ifconfig
and Hetzner tell me I have and IP4 and IP6 address and I think(!) set up the DNS entries correctly (it was first off, so letsdebug showed an error)