"NSX UPGRADE STAGE MANAGER PRECHECK" phase.nsxmgr_fqdn - NSX manager has a common name that does not match its hostname. Ensure that NSX manager has a valid certificate with its common name matching the host name.VMware NSX
VMware Cloud Foundation
MGMT_CLUSTER service is bound to a certificate that only contains the VIP FQDN in the Subject Alternative Name (SAN) field.API certificate (containing all required NSX Manager FQDNs and the VIP FQDN) is improperly bound to only a single node, while a secondary, incorrect API certificate is bound to the remaining nodes.Identify the correct primary certificate ID (<cert-id>) that contains all necessary FQDNs in its SAN field, as well as the UUIDs (<node-id>) of the misconfigured NSX Manager nodes.
Refer Finding Node IDs for Certificate API Calls
Reassign the primary API certificate to the misconfigured NSX Manager nodes by executing the following API payload against the active NSX Manager: POST /api/v1/trust-management/certificates/<cert-id>?action=apply_certificate&service_type=API&node_id=<node-id>
Reassign the correct primary certificate to the Management Cluster VIP by executing the following API payload: POST /api/v1/trust-management/certificates/<cert-id>?action=apply_certificate&service_type=MGMT_CLUSTER
To know more about NSX API usage, refer NSX API usage