Hi, I've been using your certificates on one of my servers for years.
I'm migrating that server and I'm getting an error when I try to generate the certificate on the new server:
Simulating a certificate request for correo.asistp.com
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: correo.asistp.com
Type: unauthorized
Detail: 46.105.169.143: Invalid response from http://correo.asistp.com/.well-known/acme-challenge/VoHLBV19kt3pGfEFIRpcQ3kkzjltQqbm_rKoi6ezY_A: 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.
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.
The error log shows:
2025-03-28 18:16:20,841:DEBUG:acme.client:Storing nonce: txq0Fkjd2dINGjyP70Kv6iEINGOM_54DJVpxdeYPyQa6gcYWRfA
2025-03-28 18:16:20,842:INFO:certbot._internal.auth_handler:Challenge failed for domain correo.asistp.com
2025-03-28 18:16:20,843:INFO:certbot._internal.auth_handler:http-01 challenge for correo.asistp.com
2025-03-28 18:16:20,843:DEBUG:certbot._internal.display.obj:Notifying user:
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: correo.asistp.com
Type: unauthorized
Detail: 46.105.169.143: Invalid response from http://correo.asistp.com/.well-known/acme-challenge/VoHLBV19kt3pGfEFIRpcQ3kkzjltQqbm_ rKoi6ezY_A: 404
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains s erve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
2025-03-28 18:16:20,845:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/snap/certbot/4482/lib/python3.12/site-packages/certbot/_internal/auth_handler.py", line 108, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, max_time_mins, best_effort)
File "/snap/certbot/4482/lib/python3.12/site-packages/certbot/_internal/auth_handler.py", line 212, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
2025-03-28 18:16:20,845:DEBUG:certbot._internal.error_handler:Calling registered functions
2025-03-28 18:16:20,846:INFO:certbot._internal.auth_handler:Cleaning up challenges
2025-03-28 18:16:20,846:DEBUG:certbot._internal.plugins.webroot:Removing /var/www/html/.well-known/acme-challenge/VoHLBV19kt3pGfEFIRp cQ3kkzjltQqbm_rKoi6ezY_A
2025-03-28 18:16:20,846:DEBUG:certbot._internal.plugins.webroot:All challenges cleaned up
2025-03-28 18:16:20,847:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/snap/certbot/4482/bin/certbot", line 8, in
sys.exit(main())
^^^^^^
File "/snap/certbot/4482/lib/python3.12/site-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/certbot/4482/lib/python3.12/site-packages/certbot/_internal/main.py", line 1871, in main
return config.func(config, plugins)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/certbot/4482/lib/python3.12/site-packages/certbot/_internal/main.py", line 1577, in certonly
lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/certbot/4482/lib/python3.12/site-packages/certbot/_internal/main.py", line 142, in _get_and_save_cert
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/certbot/4482/lib/python3.12/site-packages/certbot/_internal/client.py", line 513, in obtain_and_enroll_certificate
cert, chain, key, _ = self.obtain_certificate(domains)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/certbot/4482/lib/python3.12/site-packages/certbot/_internal/client.py", line 423, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/certbot/4482/lib/python3.12/site-packages/certbot/_internal/client.py", line 492, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, self.config, best_effort)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/snap/certbot/4482/lib/python3.12/site-packages/certbot/_internal/auth_handler.py", line 108, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, max_time_mins, best_effort)
File "/snap/certbot/4482/lib/python3.12/site-packages/certbot/_internal/auth_handler.py", line 212, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
2025-03-28 18:16:20,852:ERROR:certbot._internal.log:Some challenges have failed.
I have:
Rocky Linux release 9.5
nginx 1.20.1
certbot 3.3.0
Hosting provider OVH
The Let's Debug diagnostic website tool show fine results
Please help me identify and correct the problem.