"Failed to enable trust on Compute Manager due to error There already exists an OIDC end-point with issuer (Error code:90011)"
VMware NSX 4.x
VMware NSX-T Data Center 3.x
This is a condition that may occur in a VMware NSX environment.
Workaround
Delete stale thumbprint entry and update new entry using API using the following steps
root@vcsa-01 [ ~ ]# openssl s_client -connect <vcenter-ip/fqdn>:443 </dev/null 2>/dev/null | openssl x509 -fingerprint -sha256 -noout -in /dev/stdin
GET /api/v1/trust-management/oidc-uris
200 OK
oidc_uri": "https://vcsa-01.corp.local/openidconnect/vsphere.local/.well-known/openid-configuration",
"thumbprint": "ad45d34bfdbaecb42d2XXXXXXXXXXXXXXXXX",
"oidc_type": "vcenter",
"id": "ed1e58d0XXXXXXXXXXXX1111a837a26e",
DELETE /api/v1/trust-management/oidc-uris/<enter-id-here>
https://<nsx-manager-ip>/api/v1/trust-management/oidc-uris/ed1e58d0XXXXXXXXXXXX1111a837a26e
POST /api/v1/trust-management/oidc-uris/
{
"oidc_type": "As_per_output_of_GET_in_Step_2",
"oidc_uri": "As_per_output_of_GET_in_Step_2",
"thumbprint": "New_vcenter_thumbprint_as_per_output_in_Step_1"
}
201 Created