MINOR: acme: display the type of challenge in ACME_INITIAL_DELAY

The ACME_INITIAL_DELAY state displays a message about 'dns-01', but this
state is also used for 'dns-persist-01'.

This patch displays the challenge that was configured instead of dns-01
This commit is contained in:
William Lallemand 2026-04-14 10:09:03 +02:00
parent ed0c51d2c0
commit cf72132f22

View File

@ -2525,8 +2525,8 @@ re:
st = ACME_CHALLENGE;
ctx->http_state = ACME_HTTP_REQ;
ctx->state = st;
send_log(NULL, LOG_NOTICE, "acme: %s: dns-01: waiting %ds\n",
ctx->store->path, ctx->cfg->dns_delay);
send_log(NULL, LOG_NOTICE, "acme: %s: %s: waiting %ds\n",
ctx->store->path, ctx->cfg->challenge, ctx->cfg->dns_delay);
task->expire = tick_add(now_ms, ctx->cfg->dns_delay * 1000);
return task;