NSX Manager certificate replacement fails through UI or Batch API replacement.
The following error is observed when attempting to replace the certificate:
A certificate batch replace operation cannot be started at this time because conflicting operations are running: TRANSPORT_NODE_ONBOARDING_IN_PROGRESS. Try again later. (Error code: 2190)Error screenshot as seen from NSX UI > System > Certificates > Select the certificates you want to replace > Actions > Replace Certificates :
VMware NSX
VMware NSX-T
VMware VCF NSX
During certificate replacement a check is made against transport node states, this check is incorrectly blocking certificate replacement when hosts are in some specific non healthy states.
This issue is resolved in VMware NSX 4.2.4 and VCF NSX 9.1.0 , available at Broadcom downloads.
If you are having difficulty finding and downloading software, review the Download Broadcom products and software KB.
Workaround
In order to temporarily resolve the issue, you can also follow the below steps:
Note: If "Replace Certificate" option from an expired certificate is giving Batch Replace error, "Apply Certificate" for the respective service from new certificate can be attempted.
Also, the certificate can be replaced without using the batch replace process by replacing the certificate for each API/VIP service. Beginning with Step #1 in the following document: Replace Certificates Through API
As an alternative, you can use the CARR script to replace the certificates. This is recommended if the above procedures aren't working or if you have additional certificates that need to be replaced because they are expired or are expiring soon. Reference KB 369034 - Using Certificate Analyzer, Results, and Recovery (CARR) script to fix certificate related issues in NSX. If you need to manually regenerate certificates on the ESX hosts to reconnect to NSX see the KB "MPA Disconnected" Alarm For Transport Node causing Transport Node state to be "Disconnected".