vCenter 6.5 Image Builder Stops Working after Changing Certificates
I was looking at VMware vCenter 6.5 i my lab, and wanted to change the certificate, but after change the certificate the Image Builder failed with some error.
Before i change the certificate i had added some things to the Image Builder “Software Deopts”. VMware HA Agent and HPE ESXi 6.5 customized image depot file.
After i changed the certificate and I looked at “Software Depots” that i had uploaded i got this image:
There is no visible “Image Profiles”, and there should be one in this HPE Depot.
And when trying to update the VMware HP Agent i get an error.
The error looks like this.
After some investigation, i found that the solution was get the certificate registered again in vCenter. I used this VMware KB2123631 that is for vCetner 6.0 and “Auto Deploy”.
I just changed the:
python /usr/lib/vmware-vpx/scripts/updateExtensionCertInVC.py -e com.vmware.rbd -c /certificate/vpxd-extension.crt -k /certificate/vpxd-extension.key -s vcsa_FQDN -u Administrator@vsphere.local
python /usr/lib/vmware-vpx/scripts/updateExtensionCertInVC.py -e com.vmware.imagebuilder -c /certificate/vpxd-extension.crt -k /certificate/vpxd-extension.key -s vcsa_FQDN -u Administrator@vsphere.local
After this i restarted the “Image Builder” server and it is working again.