NOTE: This KB is applicable only if the ESXi host is using the VMCA self signed certificate
VMware vSphere ESXi
vpxd.certmgmt.certs.daysValid advanced option is set to five years, and your VMCA root certificate is set to expire in two years, the ESXi certificate expiration date is limited to two years.Check the validity of the VMCA root certificate either from vSphere UI or from CLI.
From vSphere UI:
From CLI:
cat /var/lib/vmware/vmca/root.cerIf the root.cer validity is nearing the expiry date, perform the following steps to renew the VMCA root certificate:
1) Replace the VMCA root certificate either using option 4 or option 8 via certificate manager utility as per the KB: Regenerate vSphere 6.x, 7.x, and 8.0 certificates using self-signed VMCA
NOTE: Replacing VMCA root certificate can be performed via vCert script as well.
2) Once the VMCA root certificate is renewed, perform the ESXi host certificate renewal from the vCenter Server UI