Generating Certificate or Certificate Signing Request (CSR) for ESXi host with custom parameters using VCSA UI
vSphere 7.0.x
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 Settings
vpxd.certmgmt.mode
to display only certificate mode parameters.vpxd.certmgmt.mode
should be set to vmca, refer: Change the ESXi Certificate ModeConfigure
-> Settings
-> Advanced Settings
vpxd.certmgmt.certs.cn.email
vpxd.certmgmt.certs.cn.localityName
vpxd.certmgmt.certs.cn.organizationalUnitName
vpxd.certmgmt.certs.cn.organizationName
vpxd.certmgmt.certs.cn.state
Configure -> System -> Certificate
Renew
Please 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 Settings
vpxd.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