YYYY-MM-DDThh:mm:ss.587+0000 ERROR [common,xxxxxxxxxx,xxxx] [c.v.e.s.i.r.a.c.v.IdentityProviderController,http-nio-127.0.0.1-7100-exec-7] Unable to get sddc manager oidc information due to Identity Internal Server Error
YYYY-MM-DDThh:mm:ss.587+0000 ERROR [common,xxxxxxxxxx,xxxx] [c.v.e.s.e.h.LocalizableRuntimeExceptionHandler,http-nio-127.0.0.1-7100-exec-7] [BJOOLL] SDDCMANAGER_GET_OIDC_INFO_FAILED com.vmware.evo.sddc.identity.rest.api.error.IdentityRestServiceException: at com.vmware.evo.sddc.identity.rest.api.controller.v1.IdentityProviderController.getSddcWs1bOidcInfo(IdentityProviderController.java:410)Caused by: com.vmware.evo.sddc.common.services.psc.exception.PscException: Unable to obtain Security Token Service from SSO 'mgmtvcenterfqdn' 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.createNewAdminClient(SSOEntityService.java:332) at com.vmware.evo.sddc.identity.sso.services.PscServiceImpl.getAdminClient(PscServiceImpl.java:415) ... 160 common frames omittedCaused 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) at com.vmware.vim.sso.client.DefaultTokenFactory.parseToken(DefaultTokenFactory.java:36) at com.vmware.vim.sso.client.impl.SecurityTokenServiceImpl.acquireToken(SecurityTokenServiceImpl.java:126) at com.vmware.evo.sddc.common.util.SSOEntityService.getSamlToken(SSOEntityService.java:309)[c.v.e.s.a.u.CertificateRetrustJwtHelper,http-nio-127.0.0.1-7100-exec-5] Fetching the signed JWT tokenYYYY-MM-DDThh:mm:ss.248+0000 INFO [common,xxxxxxxxxx,xxxx] [c.v.e.s.a.u.u.ApplianceManagerUtils,http-nio-127.0.0.1-7100-exec-5] Reading from file /opt/vmware/vcf/commonsvcs/etc/signed_jwt_token.jwt ...YYYY-MM-DDThh:mm:ss.248+0000 ERROR [common,xxxxxxxxxx,xxxx] [c.v.e.s.a.u.u.ApplianceManagerUtils,http-nio-127.0.0.1-7100-exec-5] Reading from the file path failedjava.nio.file.NoSuchFileException: /opt/vmware/vcf/commonsvcs/etc/signed_jwt_token.jwt at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218) at java.base/java.nio.file.Files.newByteChannel(Files.java:380) at java.base/java.nio.file.Files.newByteChannel(Files.java:432) at ERROR [common,9b73587bba4741e8,38a7] [c.v.e.s.i.s.services.PscServiceImpl,http-nio-127.0.0.1-7100-exec-3] Unable to fetch user & groups from saml tokenjava.lang.RuntimeException: The SAML token signature validation failed! at com.vmware.evo.sddc.identity.sso.services.PscServiceImpl.validateSamlToken(PscServiceImpl.java:481) at com.vmware.evo.sddc.identity.sso.services.PscServiceImpl.getSamlMetaData(PscServiceImpl.java:440) at com.vmware.evo.sddc.identity.services.IdentityServiceImpl.getTokenPair(IdentityServiceImpl.java:115) at com.vmware.evo.sddc.identity.rest.api.controller.v1.TokenController.createToken(TokenController.java:72) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[common,685de16d58f7c91c3f18c683e35e61a8,9813] [o.b.jsse.provider.PropertyUtils,http-nio-127.0.0.1-7100-exec-8] Found string system property [java.home]: /usr/lib/jvm/openjdk-java17-headless.x86_64YYYY-MM-DDThh:mm:ss.625+0000 INFO [common,685de16d58f7c91c3f18c683e35e61a8,9813] [o.b.jsse.provider.PropertyUtils,http-nio-127.0.0.1-7100-exec-8] Found string system property [java.home]: /usr/lib/jvm/openjdk-java17-headless.x86_64YYYY-MM-DDThh:mm:ss.631+0000 INFO [common,685de16daeefdb1509d7f3930c9b5c55,1a2b] [c.v.v.s.c.i.X509TrustChainKeySelector,http-nio-127.0.0.1-7100-exec-1] Failed to find trusted path to signing certificate <CN=ssoserverSign>java.security.cert.CertPathBuilderException: Unable to find certificate chain. at org.bouncycastle.jcajce.provider.PKIXCertPathBuilderSpi.engineBuild(Unknown Source)
This error can be caused by the following:
Ensure SDDC Manager trusts the STS signing certificate. Depending current certificate's status, take the appropriate action below:
If the STS certificate is VMCA-signed: Follow the steps in the KB article, "How to add/delete Custom CA Certificates to SDDC Manager and Common Services trust stores".
If the STS certificate is expired or has a stale chain: Replace it by following the instructions in the "vCert - expired certificate replacement script".