During an upgrade pre-check in a VMware NSX-T / NSX 3.2.x environment, the upgrade fails with the error message: The certificate with id ########-####-####-####-############ failed to parse with error: null. Please delete (if unused) or replace this certificate prior to upgrading.
An invalid, corrupted, or expired certificate remaining in the NSX trust store triggers a parsing exception during validation.
To verify the issue and check if the certificate is actively bound to any service, run the following REST API call:
GET https://<nsx-mgr-ip>/api/v1/trust-management/certificates/<cert-id>
Check the service_types array in the response to confirm whether the certificate is in use or exists as an unattached, stale object in the database.
VMware NSX-T 3.2.x
Internal cluster management certificates (such as CBM/Corfu certificates in NSX 3.2.x) or stale LocalManager/Principal Identity certificates have expired or contain corrupted validity properties, causing the upgrade validator parser to return a null object during pre-check evaluation.
Historically, NSX 3.2.x internal CBM certificates were issued with short validity windows (e.g., 825 days) rather than 100 years. When these expire, the upgrade pre-check parser cannot validate their metadata structure, resulting in a null parse error even if replacement DTA certificates have been attached to the API and VIP services.
Verify and Apply DTA Certificate Bindings via API: Ensure the new DTA certificate is properly bound to both the VIP and API service types.
Apply to Cluster VIP:
POST https://<nsx-mgr-ip>/api/v1/trust-management/certificates/<cert-id>?action=apply_certificate&service_type=VIP
Apply to Appliance Nodes:
POST https://<nsx-mgr-ip>/api/v1/trust-management/certificates/<cert-id>?action=apply_certificate&service_type=API&node_id=<node-uuid>
Delete the Unused Invalid Certificate: Once released from all service bindings, delete the invalid certificate ID via API (or UI):
DELETE https://<nsx-mgr-ip>/api/v1/trust-management/certificates/<invalid-cert-id>
Re-run Upgrade Pre-check: Re-trigger the upgrade pre-check from the NSX Manager UI to confirm resolution. Proper DTA certificate service binding ensures API and VIP endpoints remain functional while allowing the invalid certificate to be safely removed. For more details, consult the Broadcom TechDocs on Replacing Certificates Through API.