]> git.proxmox.com Git - pve-cluster.git/commit
change certificate lifetime to two years
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 26 Nov 2019 10:01:23 +0000 (11:01 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 26 Nov 2019 12:09:52 +0000 (13:09 +0100)
commitc2fd094e3dfaf21f774ef04c613cb7c8ce9f03e8
treef7421d9fc2ee9409d14b25fe2c5cba28a86c053f
parent28c22b8de974bec3c41ab2279ab0a5a046908395
change certificate lifetime to two years

instead of 10 years, to avoid issues with browsers/os that reject
certificates which have a longer lifetime
(e.g. macOs Catalina only accepts max 825 days if issued after july 2019)

also limit the lifetime by the expiry date of the ca, since
a certifiacte cannot be valid longer than its ca

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
data/PVE/Cluster/Setup.pm