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:
Remi Tricot-Le Breton 2025-10-02 15:32:46 +02:00 committed by William Lallemand
parent 0f35b46124
commit daa36adc6e

View File

@ -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)