Generating Certificate or Certificate Signing Request (CSR) for ESXi host with custom parameters using VCSA UI
vSphere 8.0.x
Note: Ensure the ESXi hosts are not in maintenance mode before applying the steps.
In order to generate Certificate or CSR with custom parameters, proceed with the steps below:
Configure -> Settings -> Advanced Settingsvpxd.certmgmt.mode to display only certificate mode parameters.vpxd.certmgmt.mode should be set to vmca, refer: Change the ESXi Certificate ModeConfigure -> Settings -> Advanced Settingsvpxd.certmgmt.certs.cn.emailvpxd.certmgmt.certs.cn.localityNamevpxd.certmgmt.certs.cn.organizationalUnitNamevpxd.certmgmt.certs.cn.organizationNamevpxd.certmgmt.certs.cn.state
Configure -> System -> CertificateRenewPlease note above steps need to be performed on each host in the inventory where you desired to have custom certificate.
Once the certificate is generated validated if the parameters are updated with desired values
Note: When Esxi Certificate Mode is set to custom you should add the custom CA Root certificates to vCenter trusted root store before updating the host certificates.Configure -> Settings -> Advanced Settingsvpxd.certmgmt.mode to display only certificate mode parameters.custom" instead of "vmca".Please note above steps need to be performed on each host in the inventory where you desired to have custom certificate.
Configure -> Certificate -> Manage with External CA > Import and Replace