SSO Login Failure in VCF Operations and NSX Manager due to VCF Identity Broker SAN Mismatch
search cancel

SSO Login Failure in VCF Operations and NSX Manager due to VCF Identity Broker SAN Mismatch

book

Article ID: 461730

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

Single Sign-On (SSO) authentication fails when users attempt to log into the VCF Operations 9.1 console or the NSX Manager UI. The authentication handoff fails during the token acquisition phase, preventing successful session token exchange and blocking user access to the environment.

Symptoms:

  • Unable to log in to VCF Operations or NSX Manager via SSO.
  • You see the below entries in /storage/log/vcops/log/collector.log

    ERROR collector 5512 [ops@4413 threadId="4492078" threadName="pool-165074-thread-1"] [(69304) com.vmware.adapter.management.components.iam.client.ApiClientProvider.getApiClient] - Failed to generate ApiClient
    java.lang.RuntimeException: Failed to execute request POST https://<vcf-vidb-fqdn>/acs/t/CUSTOMER/token with exception Certificate for <<vcf-vidb-fqdn>> doesn't match any of the subject alternative names: [<incorrect-vidb-fqdn>]
            at com.vmware.adapter.management.components.iam.client.ApiInvoker.invoke(ApiInvoker.java:104)
            at com.vmware.adapter.management.components.iam.client.ApiInvoker.invoke(ApiInvoker.java:50)
            at com.vmware.adapter.management.components.iam.client.token.ExternalVidbTokenClient.getTenantAdminToken(ExternalVidbTokenClient.java:101)
            at com.vmware.adapter.management.components.iam.client.ApiClientProvider.getApiClient(ApiClientProvider.java:130)
            at com.vmware.adapter.management.components.iam.client.ApiClientProvider.getApiClient(ApiClientProvider.java:75)
            at com.vmware.adapter.management.components.iam.client.ApiClientProvider.getApiClient(ApiClientProvider.java:71)
            at com.vmware.adapter.management.components.iam.state.impl.IdpConfigSyncHandler.getSsoDomainDetails(IdpConfigSyncHandler.java:207)
            at com.vmware.adapter.management.components.iam.state.impl.IdpConfigSyncHandler.getIdpCurrentState(IdpConfigSyncHandler.java:126)
            at com.vmware.adapter.management.components.iam.state.impl.IdpConfigSyncHandler.fetchConfig(IdpConfigSyncHandler.java:95)
            at com.vmware.adapter.management.components.iam.state.BaseOpsConfigSyncHandler.fetch(BaseOpsConfigSyncHandler.java:35)
            at com.vmware.adapter.management.components.iam.state.BaseOpsConfigSyncHandler.update(BaseOpsConfigSyncHandler.java:42)
            at com.vmware.adapter.management.components.iam.state.ConfigStateManager.updateOpsState(ConfigStateManager.java:46)
            at com.vmware.adapter.management.components.iam.VidbComponent.updateCurrentConfigurationState(VidbComponent.java:376)
            at com.vmware.adapter.management.components.iam.VidbComponent.lambda$syncConfiguration$9(VidbComponent.java:355)
            at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
            at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
            at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at java.base/java.lang.Thread.run(Unknown Source)
    Caused by: javax.net.ssl.SSLPeerUnverifiedException: Certificate for <<vcf-vidb-fqdn>> doesn't match any of the subject alternative names: [<incorrect-vidb-fqdn>]

Environment

 

  • VCF Operations 9.1

  • NSX Manager

  • VCF Identity Broker (VIDB)

 

Cause

The certificate applied to the VCF Identity Broker (VIDB) endpoint omits the active Fully Qualified Domain Name (FQDN) in the Subject Alternative Name (SAN) field. When the SSO token request is made, the SSL connection drops because the FQDN requested (e.g., <vcf-vidb-fqdn>) does not match the SAN entries present on the certificate (e.g., <incorrect-vidb-fqdn>)


Resolution

To resolve this issue, you must regenerate the VIDB certificates on VCF Operations with the correct SAN entries matching the primary FQDN.

  1. Log in to the VCF Operations 9.1 UI using a local administrator account.

  2. Navigate to Manage > Fleet > Certificates.

  3. Generate a new Certificate Signing Request (CSR) for the VCF Identity Broker component.

  4. Explicitly specify the correct active FQDN (e.g., <vcf-vidb-fqdn>) as the Primary FQDN and ensure it is included in the SAN DNS attributes.

  5. Export and download the generated CSR payload.

  6. Submit the exported CSR to your organizational External Certificate Authority (CA) for signing. Ensure the returned certificate chain contains the server certificate, intermediate CA(s), and Root CA in Base64 PEM format.

  7. Return to Manage > Fleet > Certificates in VCF Operations.

  8. Select the VCF Identity Broker component and click Replace Certificate.

  9. Import the new CA-signed certificate chain and the associated private key.

  10. Verify resolution by logging into the VCF Operations and NSX Manager UIs via SSO to confirm the token exchange completes successfully. Navigate to Inventory > Infrastructure Management > Identity Broker Health to verify the broker state displays as Healthy.

Additional Information