]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl/cli: display more filenames in 'show ssl cert'
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 13 Feb 2025 15:18:02 +0000 (16:18 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 13 Feb 2025 15:18:06 +0000 (16:18 +0100)
commit0c0b38d64c21ff852897880e46cd7f37674ccb36
tree3a8796eea1b4bdea92d23f8219f03f49fec04199
parent5a7cbb8d8115770c4776836fdf727b26d490d2ad
MINOR: ssl/cli: display more filenames in 'show ssl cert'

"show ssl cert <file>" only displays a unique filename, which is the
key used in the ckch_store tree. This patch extends it by displaying
every filenames from the ckch_conf that can be configured with the
crt-store.

In order to be more consistant, some changes are needed in the future:
- we need to store the complete path in the ckch_conf (meaning with
  crt-path or key-path)
- we need to fill a ckch_conf in cases the files are autodiscovered
src/ssl_ckch.c