Failure to update NSX with the HCX configuration
search cancel

Failure to update NSX with the HCX configuration

book

Article ID: 408436

calendar_today

Updated On:

Products

VMware HCX

Issue/Introduction

    • HCX configuration cannot be updated in NSX 
    • HCX UI showing Red button for NSX connectivity 
    • In the app log (common/logs/admin/app.log), the following messages are around the failure time:
      • Failed to update NsxT Inventory
      • Unable to find valid certification path to requested target

        [NSXService_SvcThread-#####, Ent: HybridityAdmin, , TxId: ############] ERROR c.v.v.h.s.n.NsxTInventorySyncJob- Failed to update NsxT Inventory com.vmware.vchs.hybridity.adapters.https.UntrustedCertificateException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Environment

VMware HCX 

Cause

The NSX Certificate is mismatched. This can occur after updating the certificate on NSX

Resolution

Re-import the newly updated NSX Manager certificate. 

  • Navigate to the HCX appliance management interface: https://hcx-ip-or-fqdn:9443
  • Navigate to the Administration tab.
  • Select Certificate > Trusted CA Certificate on the side menu.
  • Select the certificate import option: URL
  • Enter the IP or FQDN for the NSX Manager registered with HCX. 
  • Click Apply.

Additional Information

HCX-DEP-NETPROF