Add Service Account Users to Administrator Group in vCenter Server
Falled to add user svc-###sddc0#-<FQDN_OF_vCenteter>[email protected] to groups [Administrators, CAAdmins, SystemConfiguration.BashShellAdministrators] Reference Token: M###IB
var/log/vmware/vcf/domainmanager/domainmanger.log show show a STS certificate-related failure:YYYY-MM-DDThh:mm:ss.331+0000 DEBUG [vcf_dm,6930a9####f28eae88###e35cc,5381] [c.v.e.s.c.c.CertificateRetrieverService,dm-exec-22] Certificate chain validity check against current PKIXParameters failedjava.security.cert.CertPathValidatorException: Trust anchor for certification path not found. at org.bouncycastle.jcajce.provider.PKIXCertPathValidatorSpi_8.engineValidate(Unknown Source):: YYYY-MM-DDThh:mm:ss.340+0000 DEBUG [vcf_dm,6930a9####f28eae88###e35cc,5381] [c.v.v.s.t.DynamicTrustManager,dm-exec-22] Certificate chain O=VMware, L=Palo Alto, ST=California, C=US, CN=<FQDN_OF_VCENTER>, SerialNumber=167######931363 is validYYYY-MM-DDThh:mm:ss.824+0000 ERROR [vcf_dm,6930a9####f28eae88###e35cc,5381] [c.v.e.s.common.util.SSOEntityService,dm-exec-22] Exception while assigning groups to user: svc-###sddc01-<FQDN_OF_VCENTER>-3670com.vmware.evo.sddc.common.services.psc.exception.PscException: Unable to obtain Security Token Service from SSO '<FQDN_OF_VCENTER>' at com.vmware.evo.sddc.common.util.SSOEntityService.getSamlToken(SSOEntityService.java:320) at com.vmware.evo.sddc.common.util.SSOEntityService.createAdminClient(SSOEntityService.java:367) at com.vmware.evo.sddc.common.util.SSOEntityService.createAdminClient(SSOEntityService.java:327):: Caused by: java.lang.IllegalArgumentException: Expected one or more trusted certificates, but got null at com.vmware.vim.sso.client.impl.X509TrustChainKeySelector.checkCtorArgsNotNull(X509TrustChainKeySelector.java:242) at com.vmware.vim.sso.client.impl.X509TrustChainKeySelector.<init>(X509TrustChainKeySelector.java:73):: YYYY-MM-DDThh:mm:ss.828+0000 ERROR [vcf_dm,6930a9####f28eae88###e35cc,5381] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-22] [MO###IB] FAILED_TO_ADD_USER_TO_GROUPS Failed to add user svc-###sddc01-<FQDN_OF_VCENTER>[email protected] to groups [Administrators, CAAdmins, SystemConfiguration.BashShellAdministrators]com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Failed to add user svc-###sddc01-<FQDN_OF_VCENTER>[email protected] to groups [Administrators, CAAdmins, SystemConfiguration.BashShellAdministrators] at com.vmware.evo.sddc.vsphere.contract.AddUsersToGroups.execute(AddUsersToGroups.java:96) at com.vmware.evo.sddc.vsphere.contract.AddUsersToGroups.execute(AddUsersToGroups.java:30)Checking STS Signing Certs & Signing Chains-----------------------------------------------------------------Checking TenantCredential-1: TenantCredential-1 signing certificate VALID TenantCredential-1 CA certificate MISSINGChecking TenantCredential-2: TenantCredential-2 signing certificate VALID TenantCredential-2 CA certificate MISSINGVMware Cloud Foundation (VCF) 9.0
Trust anchor for certification path not found), thus stopping the SSO authentication process.Unable to obtain Security Token Service from SSO.To resolve the issue renew/replace the STS Signing Certificate on the affected vCenter Server Appliance.