VMware vCenter Server 7.0.x
VMware vCenter Server 8.0.x
chsh -s /bin/bash root as per above link./tmp folderchmod +x removeroot.sh to make the file executable. ./removeroot.sh# service-control --stop --allKB reference: Stopping, Starting or Restarting VMware vCenter Server Appliance services
# service-control --start --all
An alternate scripted method (vCert) of removing expired or unused certificates can be found here:
https://knowledge.broadcom.com/external/article/385107/vcert-scripted-vcenter-expired-certific.html
- For removal from vmdir use the menu navigation "3. Manage Certificates" ---> "3. CA Certificates in VMware Directory"
- For removal from VECS use the menu navigation "3. Manage Certificates" ---> "4. CA Certificates in VECs Directory"
Manual method to remove expired or unused certificates from trusted root certificates:
/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store TRUSTED_ROOTS --text
/usr/lib/vmware-vmafd/bin/vecs-cli entry list --store MACHINE_SSL_CERT --text