]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl/cli: 'show ssl cert' displays the chain
authorWilliam Lallemand <wlallemand@haproxy.com>
Tue, 25 Feb 2020 10:56:32 +0000 (11:56 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 25 Feb 2020 11:02:51 +0000 (12:02 +0100)
commit35f4a9dd8cb78c32d77477a77785bd561a524425
tree0a538e1cbf4d771293f2c24231a711dcd545cb69
parent3380a4efd029c8836072e957b502df56ecbeefe2
MINOR: ssl/cli: 'show ssl cert' displays the chain

Display the subject of each certificate contained in the chain in the
output of "show ssl cert <filename>".
Each subjects are on a unique line prefixed by "Chain: "

Example:

Chain: /C=FR/ST=Paris/O=HAProxy Test Intermediate CA 2/CN=ca2.haproxy.local
Chain: /C=FR/ST=Paris/O=HAProxy Test Intermediate CA 1/CN=ca1.haproxy.local
src/ssl_sock.c