]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: acme: distinguish wildcard CLI and Lua acknowledgements
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 24 Nov 2026 15:41:22 +0000 (15:41 +0000)
committerWilliam Lallemand <wlallemand@haproxy.com>
Tue, 24 Nov 2026 15:48:46 +0000 (16:48 +0100)
commit6fd03f9fb817bb69c528c3ae3e60129d7b3f8996
tree9d8664502b3517dc563a12e8618e0cabb23d7fd0
parent7b955ca63b2a27b0c2044684a8aae61425d23861
BUG/MEDIUM: acme: distinguish wildcard CLI and Lua acknowledgements

Wildcard and non-wildcard authorizations expose the same base DNS name.
Matching readiness on that name alone acknowledges both authorizations
after only one token has been deployed, while a literal wildcard
identifier cannot match.

Retain the authorization's wildcard flag and match it together with the
base domain. Accept *.domain only for the wildcard authorization, expose
the flag in Lua deployment events, and print the matching CLI command
without changing the DNS TXT owner.

The CLI bug dates back to 9ee14ed2d9 ("MEDIUM: acme: allow to wait and
restart the task for DNS-01"), also backported to 3.2 as c68fc8a9be. The
shared helper and Lua readiness API were introduced in 3.5.

This must be backported to 3.4, 3.3 and 3.2. Adapt the CLI fix to their
inline CLI handlers; the Lua helper and deployment-event changes are
3.5-only and must not be backported as new features.
include/haproxy/acme-t.h
src/acme.c