"NSX Manager Node certificate CN or SANs are not valid for" precheck error occurs when importing external vCenter to VCF 9
search cancel

"NSX Manager Node certificate CN or SANs are not valid for" precheck error occurs when importing external vCenter to VCF 9

book

Article ID: 419000

calendar_today

Updated On:

Products

VMware NSX VMware SDDC Manager / VCF Installer

Issue/Introduction

Symptoms:

  • You are importing a brownfield vCenter into VCF 9.
  • NSX is deployed and has a CA-signed certificate with a wildcard in the CN (Common Name) field.
  • The import fails at the prechecks for one or all of the NSX managers with the error:

NSX Manager Node certificate CN or SANs are not valid for <manager-IP>

Replace the NSX Manager Node certificate with a valid certificate where the hostname matches the CN name or is specified in the SAN field. Please refer the Certificates section in NSX Admin Guide for more details.

Additional Symptoms:

  • The symptoms persist despite replacing the certificates using the scripted process detailed in the workaround below

Environment

VCF 9

Cause

VCF 9.0 SDDC import has incorrect validation for wildcard certificates, causing the import to fail.

 

If the symptoms persist after performing the workaround, the reverse DNS record may be pointing to a server name other than the NSX Manager VIP node.

 

Resolution

This issue is resolved in VCF 9.0.1 SDDC manager, available at Broadcom downloads.

Whereby wildcard certificates used on NSX managers are imported correctly.

If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.

 

Workaround:

Replace the NSX manager API and cluster certificates with certificates that have the hostname as the CN, or that include the hostname in the SAN field and do not use a wildcard.

There is a script in the KB below that can be used to generate CA certificates from the vCenter VMCA:

Scripted process to replace expired or self-signed VMware NSX Manager Certificates with VMCA-Signed Certificates

Once the certificates are replaced with certificates that conform to the SDDC manager requirements, try the import option again.

 

If the symptoms persist after applying the workaround, ensure that the reverse DNS record points to the FQDN of the NSX Manager VIP node.

Additional Information

Please review the following KB for details on supported SDDC certificates:

Replacing SDDC manager certificates with custom certs failed with " Could not resolve the hostname"