MINOR: acme: delay of 5s after the finalize

Let 5 seconds by default to the server after the finalize to generate
the certificate. Some servers would not send a Retry-After during
processing.
This commit is contained in:
William Lallemand 2025-05-02 10:34:48 +02:00
parent 2db4848fc8
commit f63ceeded0

View File

@ -1892,6 +1892,9 @@ re:
if (acme_res_finalize(task, ctx, &errmsg) != 0) {
goto retry;
}
/* let 5 seconds to the server to generate the cert */
if (ctx->retryafter == 0)
ctx->retryafter = 5;
st = ACME_CHKORDER;
goto nextreq;
}