mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-10-26 06:01:20 +01:00
MINOR: acme: display the complete challenge_ready command in the logs
When using a wildcard DNS domain in the ACME configuration, for example *.example.com, one might think that it needs to use the challenge_ready command with this domain. But that's not the case, the challenge_ready command takes the domain asked by the ACME server, which is stripped of the wildcard. In order to be clearer, the log message shows exactly the command the user should sent, which is clearer.
This commit is contained in:
parent
861fe53204
commit
d0f9515e5c
@ -1699,8 +1699,8 @@ int acme_res_auth(struct task *task, struct acme_ctx *ctx, struct acme_auth *aut
|
||||
goto error;
|
||||
}
|
||||
|
||||
send_log(NULL, LOG_NOTICE,"acme: %s: dns-01 requires to set the \"_acme-challenge.%.*s\" TXT record to \"%.*s\" and use the \"acme challenge_ready\" command over the CLI\n",
|
||||
ctx->store->path, (int)auth->dns.len, auth->dns.ptr, (int)trash.data, trash.area);
|
||||
send_log(NULL, LOG_NOTICE,"acme: %s: dns-01 requires to set the \"_acme-challenge.%.*s\" TXT record to \"%.*s\" and use the \"acme challenge_ready %s domain %.*s\" command over the CLI\n",
|
||||
ctx->store->path, (int)auth->dns.len, auth->dns.ptr, (int)trash.data, trash.area, ctx->store->path, (int)auth->dns.len, auth->dns.ptr);
|
||||
|
||||
/* dump to the "dpapi" sink */
|
||||
line[nmsg++] = ist("acme deploy ");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user