]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl/cli: show/dump ssl crt-list
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 9 Mar 2020 12:35:19 +0000 (13:35 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 17 Mar 2020 13:59:37 +0000 (14:59 +0100)
commita6ffd5bf8abf48def4499dd6a1a1658a6f5272a4
tree3fe9bc6dddddec11119ff68f010b713539794096
parenta48e7ece481c2d0408276efc2587b41a283d42b5
MINOR: ssl/cli: show/dump ssl crt-list

Implement 2 new commands on the CLI:

show ssl crt-list [<filename>]: Without a specified filename, display
the list of crt-lists used by the configuration. If a filename is
specified, it will displays the content of this crt-list, with a line
identifier at the beginning of each line. This output must not be used
as a crt-list file.

dump ssl crt-list <filename>: Dump the content of a crt-list, the output
can be used as a crt-list file.

Note: It currently displays the default ssl-min-ver and ssl-max-ver
which are potentialy not in the original file.
src/ssl_sock.c