POST requests to https://acme.castle.cloud:443/acme/authz/xxx always return with… "status: pending," and eventually, cli.py fails with the "All authorizations were not finalized by the CA" error message. Is this a problem on the server side, or is something wrong with the client? The log file was something like this:
2025-03-26 05:05:49,899:DEBUG:urllib3.connectionpool:https://acme.castle.cloud:443 "POST /acme/authz/*** HTTP/1.1" 200 None
2025-03-26 05:05:49,899:DEBUG:acme.client:Received response:
HTTP 200
Date: Wed, 26 Mar 2025 05:05:49 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
location: https://acme.castle.cloud/acme/authz/***
replay-nonce: ***
x-frame-options: DENY
x-content-type-options: nosniff
referrer-policy: same-origin
vary: Origin
access-control-allow-origin: *
strict-transport-security: max-age=7776000
cf-cache-status: DYNAMIC
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=***"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 92641d7e6b03eddc-MXP
Content-Encoding: gzip
alt-svc: h3=":443"; ma=86400
server-timing: cfL4;desc="?proto=TCP&rtt=11962&min_rtt=10431&rtt_var=279&sent=145&recv=110&lost=0&retrans=0&sent_bytes=51846&recv_bytes=36206&delivery_rate=408311&cwnd=257&unsent_bytes=0&cid=67c0ca20ee4cadcd&ts=176639&x=0"
{"status": "pending", "expires": "2025-03-27T05:02:56.524Z", "identifier": {"type": "dns", "value": "aaa@aaa.com"}, "challenges": [{"url": "https://acme.castle.cloud/acme/chall/IT3tSWVBWNf", "type": "email-reply-00", "token": "***", "status": "processing", "from": "acme@castle.cloud"}]}
2025-03-26 05:05:49,900:DEBUG:acme.client:Storing nonce: ****
2025-03-26 05:05:49,901:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File "/home/luke/acme_email/venv/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 "/home/luke/acme_email/venv/lib/python3.12/site-packages/certbot/_internal/auth_handler.py", line 216, 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-03-26 05:05:49,902:DEBUG:certbot._internal.error_handler:Calling registered functions
2025-03-26 05:05:49,902:INFO:certbot._internal.auth_handler:Cleaning up challenges
2025-03-26 05:05:49,902:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/home/luke/acme_email/cli.py", line 264, in <module>
main(args)
File "/home/luke/acme_email/cli.py", line 202, in main
request_cert(args, config)
File "/home/luke/acme_email/cli.py", line 124, in request_cert
cert_path, chain_path, fullchain_path = certbot_main._csr_get_and_save_cert(config, le_client)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luke/acme_email/venv/lib/python3.12/site-packages/certbot/_internal/main.py", line 1493, in _csr_get_and_save_cert
cert, chain = le_client.obtain_certificate_from_csr(csr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luke/acme_email/venv/lib/python3.12/site-packages/certbot/_internal/client.py", line 329, in obtain_certificate_from_csr
orderr = self._get_order_and_authorizations(csr.data, best_effort=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luke/acme_email/venv/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 "/home/luke/acme_email/venv/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 "/home/luke/acme_email/venv/lib/python3.12/site-packages/certbot/_internal/auth_handler.py", line 216, 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-03-26 05:05:49,905:ERROR:certbot._internal.log:All authorizations were not finalized by the CA.