]> git.kaiwu.me - haproxy.git/commit
MEDIUM: ssl/cli: relax crt insertion in crt-list of type directory
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 11 Aug 2025 15:24:11 +0000 (17:24 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 11 Aug 2025 15:42:16 +0000 (17:42 +0200)
commit55d561042c81f8853364a62b4d5eaba2555c2673
treec3e87e66b8d677dbc3b95a3e3487e26150a30360
parentf4f93c56c17165e7098dc98cecf49e656e57afff
MEDIUM: ssl/cli: relax crt insertion in crt-list of type directory

In previous versions of haproxy, insertions of certificates in a
crt-list from the CLI would require to have the path of the directory,
in the path of the certificate. This would help avoiding that the
certificate wasn't loaded upon a reload because it is not at the right
place.

However, since version 3.0 and crt-store, the name stored in the tree
could be an alias and not a path, so that does not make sense anymore.
Even though path would be right, the check is not right anymore in this
case.

The tool or user inserting the certificate must now check itself that
the certificate was placed at the right spot on the filesystem.

Reported in issue #3053.

Could be backported as far as haproxy 3.0.
src/ssl_crtlist.c