]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: acme: replace the previous ckch instance with new ones
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 11 Apr 2025 21:54:52 +0000 (23:54 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 11 Apr 2025 23:39:03 +0000 (01:39 +0200)
commit768458a79e3e17a26bc1068e845a364fcd7374be
tree890ab8e5743c8566eab327162cb9701bb266abdd
parent9505b5bdf0d9ee7c1955550b738b80ec006c2994
MEDIUM: acme: replace the previous ckch instance with new ones

This step is the latest to have a usable ACME certificate in haproxy.

It looks for the previous certificate, locks the "BIG CERTIFICATE LOCK",
copy every instance, deploys new ones, remove the previous one.
This is done in one step in a function which does not yield, so it could
be problematic if you have thousands of instances to handle.

It still lacks the rate limit which is mandatory to be used in
production, and more cleanup and deinit.
src/acme.c