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.