To provide a supported method for removing the STS_INTERNAL_SSL_CERT without crashing the VCSA per newly deployed topologies in 6.x ,7.x and 8.x do not have such STORE.
Symptoms:
[YYYY-MM-DDTHH:MM:SS] pool-2-thread-5 ERROR com.vmware.identity.interop.ldap.OpenLdapClientLibrary] Exception when calling ldap_search_s: base=cn=2138b306-81d6-4bc6-9212-eea09f2c46e,cn=ServiceRegistrations,cn=LookupService,cn=Default-First-Site,cn=Sites,cn=Configuration,dc=vsphere,dc=local, scope=2, filter=(objectclass=*), attrs=null, attrsonly=0 com.vmware.identity.interop.ldap.NoSuchObjectLdapException: No such object
Remove STS_INTERNAL_SSL_CERT from VECS via shell Script:
for i in $(/usr/lib/vmware-vmafd/bin/vecs-cli store list); do echo STORE $i; /usr/lib/vmware-vmafd/bin/vecs-cli entry list --store $i --text | egrep "Alias|Not After"; done
Remove STS_INTERNAL_SSL_CERT via command line:
/usr/lib/vmware-vmafd/bin/vecs-cli store list
cp /usr/lib/vmware-sso/vmware-sts/conf/server.xml /usr/lib/vmware-sso/vmware-sts/conf/server.xml.old
sed -i 's/STS_INTERNAL_SSL_CERT/MACHINE_SSL_CERT/g' /usr/lib/vmware-sso/vmware-sts/conf/server.xml
/usr/lib/vmware-vmafd/bin/vecs-cli store delete --name STS_INTERNAL_SSL_CERT
service-control --stop --all && service-control --start --all;