]> git.proxmox.com Git - pve-manager.git/commit - bin/pveupdate
certs: early renew long-lived certificates
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 23 Apr 2020 10:20:02 +0000 (12:20 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 27 Apr 2020 11:14:10 +0000 (13:14 +0200)
commit75456ef378cfe50c66eade06859736a8dc024f2b
treef79c8f3484540e92c6f956e891c03642f19f64a2
parent822fb26d85e54de27f5bc245048c13cfde232347
certs: early renew long-lived certificates

if our self-signed certificate expires in more than 825 days, but was
created after July 2019 it won't be accepted by modern Apple devices. we
fixed the issuance to generate shorter-lived certificates in November
2019, this cleans up the existing ones to fix this and similar future
issues.

two years / 730 days as cut-off was chosen since it's our new maximum
self-signed certificate lifetime, and should thus catch all old-style
certificates.

another positive side-effect is that we can now phase out support for
older certificates faster, e.g. if we want to move to bigger keys,
different signature algorithms, or anything else in that direction.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
bin/pveupdate