/var/log/vmware/eam/eam.logYYYY-MM-DDTHH:MM:SS | WARN | vim-async-1 | ExtensionSessionRenewer.java | 227 | [Retry:Login:com.vmware.vim.eam:###########] Re-login failed, due to:com.vmware.eam.security.NotAuthenticated: Failed to authenticate extension com.vmware.vim.eam to vCenter.
YYYY-MM-DDTHH:MM:SS | ERROR | vlsi | DispatcherImpl.java | 468 | Internal server error during dispatchcom.vmware.vim.binding.eam.fault.EamServiceNotInitialized: EAM is still loading from database. Please try again later.
vCenter Server 7.x
There is a mismatch between vpxd-extension certificate stored in VECS and the certificate information stored in vCenter Server Database for EAM extension.
Verify and Resolve the mismatched EAM extension thumbprint using one of the following methods:
Note: Ensure there is valid backup/offline snapshot of the VCSA prior to implementing the workaround. Refer to VMware vCenter in Enhanced Linked Mode pre-changes snapshot (online or offline) best practice
mkdir /certificate
/usr/lib/vmware-vmafd/bin/vecs-cli entry getcert --store vpxd-extension --alias vpxd-extension --output /certificate/vpxd-extension.crt
/usr/lib/vmware-vmafd/bin/vecs-cli entry getkey --store vpxd-extension --alias vpxd-extension --output /certificate/vpxd-extension.key
/usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost
Run this command to update the extension's certificate with vCenter Server (Use the PNID obtained above after -s in following cmd)
python /usr/lib/vmware-vpx/scripts/updateExtensionCertInVC.py -e com.vmware.vim.eam -c /certificate/vpxd-extension.crt -k /certificate/vpxd-extension.key -s <PNID/FQDN of vCenter Server> -u [email protected]
Note: The default user and domain is [email protected]. If this was changed during configuration, change the domain to match your environment. When prompted, type in the Administrator's password.
service-control --stop vmware-eam && service-control --start vmware-eam
Download and Prepare the vCert Script from vCert - expired certificate replacement script
Upload it to your vCenter Server appliance.
Unzip and make it executable:
unzip -q vCert-<version>.zipcd vCert<version>chmod +x vCert.py
Launch the Script./vCert.py
Navigate to Certificate Management
From the main menu, choose:
3. Manage Certificates
Then In the sub-menu, choose
6. vCenter Extension thumbprints