'Configure NSX Fabric Compute Manager' task fails during VCF 9.0 deployment due to 'VCF_SSL_THUMBPRINTS_MISMATCH' error
search cancel

'Configure NSX Fabric Compute Manager' task fails during VCF 9.0 deployment due to 'VCF_SSL_THUMBPRINTS_MISMATCH' error

book

Article ID: 421692

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

  • Applying the resolution in Scenario 1 of 'Configure NSX Fabric Compute Manager Task' fails in VCF 9.0 deployment due to an incomplete vCenter machine SSL certificate chain updates the vCenter certificates.

  • After the vCenter certificate update, re-initiating the VCF deployment task fails with the below error:

    Could not establish trust with pre-existing product <vCenter_FQDN>. Provided SSL thumbprint: 3B:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##, actual SSL thumbprint: 2E:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##
    Reference Token: #####

  • On the SDDC Manager, in /var/log/vmware/vcf/domainmanager/domainmanager.log

    YYYY-MM-DDThh:mm:ss ERROR [vcf_dm,69######################,####] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-28]  [######] VCF_SSL_THUMBPRINTS_MISMATCH Could not establish trust with pre-existing product <vCenter_FQDN>. Provided SSL thumbprint: 3B:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##, actual SSL thumbprint: 2E:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##
    com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Could not establish trust with pre-existing product <vCenter_FQDN>. Provided SSL thumbprint: 3B:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##, actual SSL thumbprint: 2E:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##:##

Environment

VMware Cloud Foundation 9.x

Cause

The issue occurs because the new vCenter SSL thumbprint does not match the old SSL thumbprint stored in the workflow of the existing task. 

Resolution

Follow the workaround below to update the workflow of the existing VCF deployment task with the new SSL thumbprint of the vCenter Server:

  1. SSH to the VCF Installer appliance as vcf user and elevate to root with su.

  2. Run the below command to enables HTTP access for the VCF vault component used by Domain Manager:
    echo vcf.vault.http-access=true >> /etc/vmware/vcf/domainmanager/application.properties && systemctl restart domainmanager

  3. From /var/log/vmware/vcf/domainmanager/domainmanager.log, identify the Execution ID of the failed task using the keyword 'executionId'.
     
  4. Run the below command to copy the workflow of the failed task in workflow.json file:
    curl -X GET http://localhost/domainmanager/internal/vault/<execution ID identified from domainmanager.log> | json_pp > /tmp/workflow.json

  5. SSH to the vCenter as root, execute the following command and copy the new vCenter SSL thumbprint:
    echo | openssl s_client -connect <vCenter_FQDN>:443 -showcerts | openssl x509 -fingerprint -sha256 -noout
     
  6. Edit /tmp/workflow.json file and replace "sslThumbprint" parameter with the new value.

  7. Update the modified workflow.json in VCF Installer:
    curl -H 'Content-Type:text/plain' -X PUT http://localhost/domainmanager/internal/vault/<execution ID identified from domainmanager.log> -d @/tmp/workflow.json
     
  8. Retry the failed task from the VCF Installer UI.

Additional Information

Refer Re-try an existing workflow by modifying the workflow spec file