When using the documented steps, Replace Certificates, to replace an expired LOCAL_MANAGER certificate using the API call:
POST https://<nsx-mgr>/api/v1/trust-management/certificates/<cert-id>?action=apply_certificate&service_type=LOCAL_MANAGER
You receive the following error:
"error_message": "No Certificate Profile of type LOCAL_MANAGER available for the current node-type."
VMware NSX-T 3.x
The expected certificate profile for LOCAL_MANAGER
may not be created or configured on the NSX-T Manager. This can occur if the setup process was incomplete or if the profiles were deleted or not assigned correctly.
To replace the expired Local Manager certificate in VMware NSX-T 3.x, using an API client such as Postman, follow these steps:
Open Postman API Client
Setup the API Request in Postman
<nsx-mgr>
with your NSX-T Manager serverâÂÂs IP or FQDN in the URL below:
POST
Basic Auth
and enter your NSX-T Manager login credentials.Content-Type
to application/json
.raw
format.JSON
.<id>
with the new certificate ID:
Send
to apply the new certificate.Verify the New Certificate Assignment
Check Certificate Usage (for Earlier NSX-T Versions)
"used_by": []
in the response, which indicates that the certificate is not in use.Delete the Old Certificate
Note: The above steps assume the new certificate has already been created, signed and imported into VMware NSX-T using the steps Create a Self-Signed Certificate.
For further information, refer to VMwareâÂÂs official documentation on replacing certificates in NSX-T: VMware NSX-T Certificate Replacement Documentation.