openssl s_client -connect <VC_IP>:<Port_Number> -showcertsVMware vCenter Server 8.x
VMware vCenter Server 7.x
The vmdir service (VMware Directory Service) relies on a static certificate file located at /usr/lib/vmware-vmdir/share/config/vmdircert.pem. In certain scenarios, the Certificate Manager utility does not synchronize the new Machine SSL certificate from the VECS store to this specific filesystem path.
Note: Take offline snapshot of all the vCenter in linked mode.
Follow the below steps:
/usr/lib/vmware-vmafd/bin/vecs-cli entry getcert --store MACHINE_SSL_CERT --alias __MACHINE_CERT > /var/core/machine_ssl.pemcp /usr/lib/vmware-vmdir/share/config/vmdircert.pem /usr/lib/vmware-vmdir/share/config/vmdircert.pem.bakcp /var/core/machine_ssl.pem /usr/lib/vmware-vmdir/share/config/vmdircert.pemservice-control --stop --all && service-control --start --allopenssl s_client -connect localhost:<Port_Number> -showcerts