]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: acme: generate a key pair when no file are available
authorWilliam Lallemand <wlallemand@haproxy.com>
Wed, 5 Nov 2025 17:45:00 +0000 (18:45 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 6 Nov 2025 10:56:27 +0000 (11:56 +0100)
commit582a1430b2354df6365266947504a90737e1daa0
tree24155ac7d989392d8f11a9a8eccaaa54cfbba06d
parent546c67d137c8712750715061ceb8a09aa10b4f21
MEDIUM: acme: generate a key pair when no file are available

When an acme keyword is associated to a crt and key, and the corresponding
files does not exist, HAProxy would not start.

This patch allows to configure acme without pre-generating a keypair before
starting HAProxy. If the files does not exist, it tries to generate a unique
keypair in memory, that will be used for every ACME certificates that don't
have a file on the disk yet.
src/ssl_ckch.c