When attempting to synchronize a Subscribed Content Library with a Publisher vCenter, the operation fails with one or more of the following symptoms:
cls.log: com.vmware.vapi.std.errors.Unauthenticated: {messages [com.vmware.vapi.endpoint.method.authentication.required]}cls.log: INVALID_ELEMENT_TYPE reported during the metadata fetch.Specifically, using the vCert tool reveals multiple TenantCredential entries under STS Signing Certs and Signing chains. This typically occurs when previous STS certificates were not properly cleaned up during a renewal or after a vCenter restoration from backup. The Content Library service attempts to authenticate using an expired or stale credential from the database, leading to the UNAUTHENTICATED error.
To resolve this, the duplicate and stale STS credentials must be consolidated by replacing the STS signing certificate using the vCert utility.
vCert tool is available on the vCenter Server Appliance.Critical: Before proceeding, you must take offline snapshots of ALL vCenter Server and PSC nodes within the SSO domain (ELM group). Modifying the STS identity store can render the environment inoperable if interrupted.
./vCert.py
administrator@vsphere.local) when prompted.TenantCredential entries. Verify that only one valid entry remains.service-control --stop --all && service-control --start --all