mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-10 23:46:10 +02:00
MINOR: ssl: Dump options in "show ssl cert"
Dump the values of the 'ocsp-update' and 'jwt' flags in the output of 'show ssl cert' CLI command.
This commit is contained in:
parent
0f35b46124
commit
daa36adc6e
@ -2246,6 +2246,9 @@ static int cli_io_handler_show_cert_detail(struct appctx *appctx)
|
||||
chunk_appendf(out, "SCTL filename: ");
|
||||
chunk_appendf(out, "%s\n", ckchs->conf.sctl);
|
||||
}
|
||||
chunk_appendf(out, "Option: ocsp-update %s\n",
|
||||
ckchs->conf.ocsp_update_mode ? "on": "off");
|
||||
chunk_appendf(out, "Option: jwt %s\n", ckchs->conf.jwt ? "on": "off");
|
||||
|
||||
chunk_appendf(out, "Status: ");
|
||||
if (ckchs->data->cert == NULL)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user