The STS_INTERNAL_SSL_CERT is a legacy certificate store in the VMware Endpoint Certificate Store (VECS) of a vCenter Server Appliance (VCSA).
It typically exists on vCenter instances, that were originally deployed as version 5.5 or 6.0 and subsequently upgraded.
Manual removal of said store is not recommended as it can impact the vCenter.
Similar scenario as in KB https://knowledge.broadcom.com/external/article?articleNumber=316625, however the process is changed for vSphere 9.X.
In vCenter 9.0+, the STS service moved to an embedded Tomcat instance.
Due to this change, the SSL certificate store configurations are no longer defined in /usr/lib/vmware-sso/vmware-sts/conf/server.xml, and are instead defined in /usr/lib/vmware-sso/vmware-sts/conf/catalina.properties.
The format of the file is different, it's no longer an XML file, but a standard Java properties file.
vSphere 9.X
STS service is unable to start based on configuration file /usr/lib/vmware-sso/vmware-sts/conf/catalina.properties and store STS_INTERNAL_SSL_CERT
A. Manual Method
Remediation Steps for vCenter 9.0
# /usr/lib/vmware-vmafd/bin/vecs-cli store list
MACHINE_SSL_CERT
TRUSTED_ROOTS
TRUSTED_ROOT_CRLS
machine
vsphere-webclient
vpxd
vpxd-extension
SMS
STS_INTERNAL_SSL_CERT => this is a Stale entry from 5.X/ 6.X
APPLMGMT_PASSWORD
data-encipherment
BACKUP_STORE
hvc
wcpsvc
catalina.properties./usr/lib/vmware-sso/vmware-sts/conf/catalina.properties, and change all occurrences of STS_INTERNAL_SSL_CERT to MACHINE_SSL_CERT in this file:# cp /usr/lib/vmware-sso/vmware-sts/conf/catalina.properties /usr/lib/vmware-sso/vmware-sts/conf/catalina.properties.old
# sed -i 's/STS_INTERNAL_SSL_CERT/MACHINE_SSL_CERT/g' /usr/lib/vmware-sso/vmware-sts/conf/catalina.properties# /usr/lib/vmware-vmafd/bin/vecs-cli store delete --name STS_INTERNAL_SSL_CERT# service-control --stop --all && service-control --start --allB. Scripted Method
Remediation Steps for vCenter 9.0
# /usr/lib/vmware-vmafd/bin/vecs-cli store list
MACHINE_SSL_CERT
TRUSTED_ROOTS
TRUSTED_ROOT_CRLS
machine
vsphere-webclient
vpxd
vpxd-extension
SMS
STS_INTERNAL_SSL_CERT => this is a Stale entry from 5.X/ 6.X
APPLMGMT_PASSWORD
data-encipherment
BACKUP_STORE
hvc
wcpsvcDelete_STS_INTERNAL_SSL_CERT_9X.sh
# chmod +rx Delete_STS_INTERNAL_SSL_CERT_9X.sh# ./Delete_STS_INTERNAL_SSL_CERT.shThe store STS_INTERNAL_SSL_CERT contains a certificate with the Alias __MACHINE_CERT, same as store MACHINE_SSL_CERT.
With that in mind, said store does not get updated when replacing certificates via certificate-manager or vCert, so it's not the current __MACHINE_CERT.
As a side effect, it can also trigger the certificate alarm, while it will not impact Vcenter availability, triggering said alarm is justified as there is a store with an expiring certificate.
For 8.X vCenter please use https://knowledge.broadcom.com/external/article?articleNumber=316625