When adding a Compute Manager in NSX with Enable Trust you get the error Certificate object with id 'xxxx' cannot be found
search cancel

When adding a Compute Manager in NSX with Enable Trust you get the error Certificate object with id 'xxxx' cannot be found

book

Article ID: 381910

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • When adding a Compute Manager in NSX with Enable Trust you get the error "Failed to enable trust on Compute Manager due to error The requested object: Certificate/<certificate-id> could not be found. Object identifiers are case sensitive.. Please check https://<vcenter-url>/openidconnect/vsphere.local/.well-known/openid-configuration is reachable from NSX manager nodes. (Error code: 90011) 
  • In NSX you have configured an Internet Proxy Server
  • The following API call returns the certificate id in the error message

GET https://<nsx-manager>/api/v1/proxy/config

{
"enabled" : true,
"scheme" : "HTTP",
"host" : "<ip>",
"port" : <port>,
"username" : "",
"certificate_id" : "<certificate-id>",
"test_connection_url" : "<test-url>",
"resource_type" : "Proxy",
"id" : "TelemetryConfigIdentifier",
"display_name" : "TelemetryConfigIdentifier",
"_create_user" : "system",
"_create_time" : 1617977466127,
"_last_modified_user" : "system",
"_last_modified_time" : 1679483196917,
"_system_owned" : false,
"_protection" : "NOT_PROTECTED",
"_revision" : 5
}

Environment

VMware NSX

VMware NSX-T Data Center

Cause

Proxy was configured was using HTTP but may have had a certificate configured or the certificate id doesn't match.

Resolution

Remove and re-add the Proxy Server configuration.