Commit f56e1cd
fix: re-finalize order when in processing state for ZeroSSL compatibility
ZeroSSL exhibits non-standard ACME behavior: after returning 403
orderNotReady on the first finalize call (which transitions the order
to 'processing'), the order never self-transitions to 'valid'. Simply
polling the order status is insufficient — a second finalize POST is
required to trigger actual certificate issuance.
Change the StatusProcessing case in the main sync loop to call
finalizeOrder() instead of re-queuing. If ZeroSSL is not yet ready
for the second finalize, it returns 403 again, which pf9.4's handler
detects as 'processing' and the cycle continues until ZeroSSL accepts
the finalization and returns the certificate.
Combined with: 90s finalizeOrder timeout (pf9.3), processing state
detection in finalizeOrder's 403 handler (pf9.4), and PR cert-manager#7583's
StatusProcessing case (which this commit replaces with active retry).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 234eb54 commit f56e1cd
1 file changed
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
247 | 252 | | |
248 | | - | |
| 253 | + | |
249 | 254 | | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
| 255 | + | |
258 | 256 | | |
259 | 257 | | |
260 | 258 | | |
| |||
0 commit comments