Commit 234eb54
fix: handle processing state in finalizeOrder 403 handler for ZeroSSL
ZeroSSL returns HTTP 403 orderNotReady on the first finalize call even
when all authorizations are valid, and immediately transitions the order
to 'processing' state server-side. The existing code only checked for
'valid' state after a 403, falling through to the generic 4xx error
handler which incorrectly marks the order as 'errored'.
Add an explicit 'processing' check in the 403 handler: when getACMEOrder
returns StatusProcessing, set the local order state to Processing and
re-queue via scheduledWorkQueue. The main sync loop (StatusProcessing
case added by upstream PR cert-manager#7583) then polls until the order becomes valid.
This fix, combined with the earlier StatusProcessing case in the main
sync loop and the 90s context timeout on the finalize HTTP call, provides
complete ZeroSSL ACME compatibility.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 044acbf commit 234eb54
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
608 | 608 | | |
609 | 609 | | |
610 | 610 | | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
611 | 624 | | |
612 | 625 | | |
613 | 626 | | |
| |||
0 commit comments