certImport process.TCA: 3.3, 3.4
TCP: 5.1
The TCA UI logic incorrectly selects the SHA-1 thumbprint of the Root certificate (the last certificate in the chain) to populate the thumbprint parameter for the certImport API call, rather than using the Leaf certificate's thumbprint.
Resolved in TCA 3.4.1.
As a workaround, the certificate update must be triggered manually using curl to ensure the correct Leaf certificate thumbprint is passed to the API.
Identify Required Data:
TCA Manager IP: <tca_manager_ip_address>
vCenter Instance UUID: <vcenter_instance_uuid>
System UUIDs: The UUIDs of the TCA-CP nodes associated with the vCenter.
Cluster IDs: The UUIDs of the impacted clusters.
Leaf Thumbprint: Obtain the SHA-1 thumbprint of the vCenter Leaf certificate.
Root Certificate: Obtain the Base64 encoded string of the Root certificate.
Execute API Call via Curl to manually import the certificate:
curl 'https://<tca_manager_ip_address>/tca/monitoring/api/v1/endpoints/<vcenter_instance_uuid>/action/certImport' \
-H 'accept: application/json' \
-H 'content-type: application/json' \
--data-raw '{
"systemUuids": ["<TCA-CP_UUID_1>", "<TCA-CP_UUID_2>"],
"certificate": "-----BEGIN CERTIFICATE-----\n<ROOT_CERT_CONTENT>\n-----END CERTIFICATE-----",
"thumbprint": "<LEAF_CERT_SHA1_THUMBPRINT>",
"clusterIds": ["<CLUSTER_UUID_1>", "<CLUSTER_UUID_2>"]
}' \
--insecurecertificate field in the payload should contain the Root certificate (last in the chain), but the thumbprint field must be the SHA-1 thumbprint of the Leaf certificate.