"Exception occurred in postInstallHook for B2B-patching. Please check the logs for more details. Take corrective action and then resume"/var/log/vmware/applmgmt/PatchRunner.log
[YYYY-MM-DDTHH:MM:SS] INFO service_manager Command '[['/bin/service-control', '--start', 'vmware-vpxd']]' has exit-code='1' and stdout: Operation not cancellable. Please wait for it to finish...
Performing start operation on service vpxd...
stderr: Error executing start on service vpxd. Details {
"detail": [
{
"id": "install.ciscommon.service.failstart",
"translatable": "An error occurred while starting service '%(0)s'",
"args": [
"vpxd"
],
"localized": "An error occurred while starting service 'vpxd'"
}[YYYY-MM-DDTHH:MM:SS] Wa(03)+ host-###### "localized": "An error occurred while invoking external command : 'Command: ['/usr/lib/vmware-vmca/bin/certool', '--server=<vCenter_FQDN>', '--genCIScert', '--dataencipherment', '--privkey=/etc/vmware-vpx/ssl/tmp-data-encipherment.key', '--cert=/etc/vmware-vpx/ssl/tmp-data-encipherment.crt', '--Name=data-encipherment', '--FQDN=<vCenter_FQDN>']\nStderr: '"
[YYYY-MM-DDTHH:MM:SS] Wa(03)+ host-###### },
[YYYY-MM-DDTHH:MM:SS] Wa(03)+ host-###### {
[YYYY-MM-DDTHH:MM:SS] Wa(03)+ host-###### "id": "upgrade.vpxd.cert.create.failed",
[YYYY-MM-DDTHH:MM:SS] Wa(03)+ host-###### "translatable": "Failed to create data encipherment cert with hostname/ip %(0)s.",
[YYYY-MM-DDTHH:MM:SS] Wa(03)+ host-###### "args": [
[YYYY-MM-DDTHH:MM:SS] Wa(03)+ host-###### "vCenter_FQDN"
[YYYY-MM-DDTHH:MM:SS] Wa(03)+ host-###### ],
[YYYY-MM-DDTHH:MM:SS] Wa(03)+ host-###### "localized": "Failed to create data encipherment cert with hostname/ip vCenter_FQDN."VMware vCenter Server 8.x
This issue occurs because the vCenter server Fully Qualified Domain Name (FQDN) was previously changed, but the data-encipherment certificate was never properly updated to reflect the new FQDN.
During the update, the post-installation patch hook attempts to create or renew this certificate using the old, incorrect FQDN, resulting in the failure.
To resolve this issue renew the Data-Encipherment Certificate by following procedure.
The Data Encipherment certificate can also be replaced using the vCert Utility.
vCert - Scripted vCenter Expired Certificate Replacement