From: Dietmar Maurer Date: Wed, 25 Jul 2018 12:59:25 +0000 (+0200) Subject: PVE::Certificate - set renderers for unix epoch and 'san' X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=b99c04ada5247421139169c8462b91ac4bc37d8a PVE::Certificate - set renderers for unix epoch and 'san' --- diff --git a/src/PVE/Certificate.pm b/src/PVE/Certificate.pm index b0b9bbf..691e70b 100644 --- a/src/PVE/Certificate.pm +++ b/src/PVE/Certificate.pm @@ -54,17 +54,20 @@ PVE::JSONSchema::register_standard_option('pve-certificate-info', { notbefore => { type => 'integer', description => 'Certificate\'s notBefore timestamp (UNIX epoch).', + renderer => 'timestamp', optional => 1, }, notafter => { type => 'integer', description => 'Certificate\'s notAfter timestamp (UNIX epoch).', + renderer => 'timestamp', optional => 1, }, san => { type => 'array', description => 'List of Certificate\'s SubjectAlternativeName entries.', optional => 1, + renderer => 'yaml', items => { type => 'string', },