After installing custom ESXi host certificates, certificates revert to VMCA-signed after reconnecting to vCenter
book
Article ID: 438658
calendar_today
Updated On:
Products
VMware vCenter ServerVMware vSphere ESXi
Issue/Introduction
Installing custom ESXi host certificates are successful
Using vCert.py, output states the host certificates are installed but after reconnecting the ESXi host to vCenter, the ESXi host certificate changes to VMCA-signed certificates.
vCert.py output
Replace ESXi Certificate ----------------------------------------------------------------- Publish CA signing certificates OK Replace ESXi certificate OK Replace ESXi private key OK Replace castore.pem OK
Cause
The advanced vCenter setting for vpxd.certmgmt.mode is set to VMCA.
Resolution
In the vSphere Client, select the vCenter system that manages the hosts.
Click Configure, and under Settings, click Advanced Settings.
Click Edit Settings.
Click the Filter icon in the Name column, and in the Filter box, enter vpxd.certmgmt to display only certificate management parameters. Note: The available options are vmca, custom, and thumbprint.
Change the value of vpxd.certmgmt.mode to custom if you intend to manage your own certificates, and to thumbprint if you temporarily want to use thumbprint mode, and click Save.
Install the custom ESXi host certificate and reconnect to vCenter.