]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: acme: get the challenges object from the Auth URL
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 10 Apr 2025 20:18:06 +0000 (22:18 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 11 Apr 2025 23:29:27 +0000 (01:29 +0200)
commitae0bc88f91f22f06bd04d6fab71a9a38656dff20
treed0a5cfcdaa92d9b155271d55fb7c01a4d05931ee
parent7231bf5726031c34d3fc6110dc7cfc04769e48ae
MINOR: acme: get the challenges object from the Auth URL

This patch implements the retrieval of the challenges objects on the
authorizations URLs. The challenges object contains a token and a
challenge url that need to be called once the challenge is setup.

Each authorization URLs contain multiple challenge objects, usually one
per challenge type (HTTP-01, DNS-01, ALPN-01... We only need to keep the
one that is relevent to our configuration.
include/haproxy/acme-t.h
src/acme.c