Since tonight 00:01 my autorenewal for certs isn't working anymore. It seems that the acme-challenge is not available because it errors out with a 404.
My domain is: mail.tillewolle.de
I ran this command: sudo certbot renew --dry-run
It produced this output:
Certbot failed to authenticate some domains (authenticator: webroot).
The Certificate Authority reported these problems:
Domain: mail.tillewolle.de
Type: unauthorized
Detail: 82.165.178.102: Invalid response from http://mail.tillewolle.de/.well-known/acme-challenge/iFPqFsmeiq6YITrQRDUE83uARkTomyhkrp7PHvVxkR8: 404
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
sudo tail -500 /var/log/letsencrypt.log
12:32:06,682:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File
"/usr/lib/python3/dist-packages/certbot/_internal/auth_handler.py", line
106, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File
"/usr/lib/python3/dist-packages/certbot/_internal/auth_handler.py", line
206, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
2025-03-20 12:32:06,682:DEBUG:certbot._internal.error_handler:Calling
registered functions
2025-03-20 12:32:06,682:INFO:certbot._internal.auth_handler:Cleaning up
challenges
2025-03-20 12:32:06,682:DEBUG:certbot._internal.plugins.webroot:Removing
/var/www/html/.well-known/acme-challenge/KarhG_m6z_Q3HPy96gSEmwsdm6dZqKn8C-mQSUR6ii4
2025-03-20 12:32:06,683:DEBUG:certbot._internal.plugins.webroot:All
challenges cleaned up
2025-03-20 12:32:06,683:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/bin/certbot", line 33, in
sys.exit(load_entry_point('certbot==2.1.0', 'console_scripts',
'certbot')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/certbot/_internal/main.py", line
1736, in main
return config.func(config, plugins)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/certbot/_internal/main.py", line
1590, in certonly
lineage = _get_and_save_cert(le_client, config, domains, certname,
lineage)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/certbot/_internal/main.py", line
126, in _get_and_save_cert
renewal.renew_cert(config, domains, le_client, lineage)
File "/usr/lib/python3/dist-packages/certbot/_internal/renewal.py",
line 395, in renew_cert
new_cert, new_chain, new_key, _ =
le_client.obtain_certificate(domains, new_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/certbot/_internal/client.py",
line 428, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/certbot/_internal/client.py",
line 496, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr,
self.config, best_effort)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/certbot/_internal/auth_handler.py", line
106, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, best_effort)
File
"/usr/lib/python3/dist-packages/certbot/_internal/auth_handler.py", line
206, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed
My web server is (include version):
nginx 1.22.1
The operating system my web server runs on is (include version):
debian 12
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.1.0