Unable to import a vSphere environment into VCF failing on prechecks "Cause: Certificate for doesn't match any of the subject alternative names"
search cancel

Unable to import a vSphere environment into VCF failing on prechecks "Cause: Certificate for doesn't match any of the subject alternative names"

book

Article ID: 423176

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • Importing an existing vCenter into VCF Inventory
  • Failure of Step 4 Prechecks with the following error:
    Existing components validation failed due to errors: Cannot connect to <Hostname.FQDN>. Cause: Certificate for doesn't match any of the subject alternative names: [Hostname]

Environment

VMware VCF 9.x

Cause

The precheck is failing due to the the SSL certificate of the remote host having a Common Name (CN) issued to the server shortname <Hostname> instead of server fully qualified domain name <Hostname.FQDN> which is a validation requirement for the VCF vCenter import precheck.

Resolution

Replace the SSL Certificate of the remote host with a new certificate issued to the fully qualified hostname (Example: hostname.domain.com)