]> www.dolda2000.com Git - utils.git/commitdiff
acmecer: Accept "pending" challenge status after submission.
authorFredrik Tolf <fredrik@dolda2000.com>
Tue, 9 Nov 2021 21:07:58 +0000 (22:07 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Tue, 9 Nov 2021 21:07:58 +0000 (22:07 +0100)
acmecert

index dfc5ae341020058c7ead2197050a3152a49c95a8..9cf9b6aa9bfadc05e958da4557982877e6193a15 100755 (executable)
--- a/acmecert
+++ b/acmecert
@@ -248,6 +248,10 @@ def authorder(acct, htconf, orderid):
                     resp, headers = jreq(ch["url"], {}, acct)
                     if resp["status"] == "processing":
                         time.sleep(2)
+                    elif resp["status"] == "pending":
+                        # I don't think this should happen, but it
+                        # does. LE bug? Anyway, just retry.
+                        break
                     elif resp["status"] == "valid":
                         break
                     else: