I seem to be getting this error intermittently when I do a --dry-run. If I keep submitting, it eventually works. I noticed in the code there's a comment before triggering this error:
Here authzrs_to_check is still not empty, meaning we exceeded the max polling attempt.
I'm wondering if this is a server load problem? Or is our client doing something wrong here?
My domain is: junipercameryn.com
I ran this command: /usr/bin/certbot certonly --expand --renew-with-new-domains --non-interactive --email ssl@XXXX.org --agree-to-tos --certname site317881 --webroot --webroot-path /var/www/html --domains junipercameryn.com,www.junipercameryn.com --dry-run
It produced this output:
2025-12-19 16:13:05,214:DEBUG:acme.client:Storing nonce: 0t1BB3M7X2EJazS73j00W08cX2gRTTEMjYOqTSGP7qVn01flPxk
2025-12-19 16:13:05,216: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 210, in _poll_authorizations
raise errors.AuthorizationError('All authorizations were not finalized by the CA.')
certbot.errors.AuthorizationError: All authorizations were not finalized by the CA.
2025-12-19 16:13:05,216:DEBUG:certbot._internal.error_handler:Calling registered functions
2025-12-19 16:13:05,216:INFO:certbot._internal.auth_handler:Cleaning up challenges
2025-12-19 16:13:05,217:DEBUG:certbot._internal.plugins.webroot:Removing /var/www/html/.well-known/acme-challenge/XA91gXVqvTGTT-PAzFEDXWJAta5skdygBryT5iS51xg
2025-12-19 16:13:05,217:DEBUG:certbot._internal.plugins.webroot:Removing /var/www/html/.well-known/acme-challenge/he17sB90qa4feFcRwRIepzFdS32QFZcfINSaiFLQA4E
2025-12-19 16:13:05,218:DEBUG:certbot._internal.plugins.webroot:All challenges cleaned up
2025-12-19 16:13:05,219:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/bin/certbot", line 33, in <module>
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 138, in _get_and_save_cert
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/certbot/_internal/client.py", line 516, in obtain_and_enroll_certificate
cert, chain, key, _ = self.obtain_certificate(domains)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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 210, in _poll_authorizations
raise errors.AuthorizationError('All authorizations were not finalized by the CA.')
certbot.errors.AuthorizationError: All authorizations were not finalized by the CA.
2025-12-19 16:13:05,223:ERROR:certbot._internal.log:All authorizations were not finalized by the CA.
My web server is (include version): nginx 1.22.1
The operating system my web server runs on is (include version): debian bookworm
My hosting provider, if applicable, is: May First
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): May First custom control panel
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