VMware NSX
The existing local manager certificate has reached the end of its validity period.
Log in to NSX Manager:
Access the NSX Manager UI using admin credentials.
Navigate to Certificates:
Go to System > Settings > Certificates.
Initiate Certificate Generation:
Click on the GENERATE dropdown menu.
Select Self Signed Certificate.
Fill in Certificate Details:
Fill in the below details:
Service Certificate: Set this to No (Disabled) as its going to be used for local manager certificate.
Generate:
Click Add (or Generate) to create the certificate.
Simply generating the certificate does not make the NSX Manager use it. You must apply it via an API call.
Get the Certificate ID:
In the Certificates list, find the certificate you just created.
Copy its ID (a long UUID string).
Replace the expired Certificate (API):
Method: POST
https://<local-mgr>/api/v1/trust-management/certificates/<newcertid>?action=apply_certificate&service_type=LOCAL_MANAGER
Once the API call to apply the certificate is successful and the NSX Manager services have restarted, proceed with these checks in the UI:
Refresh the Certificates Page:
Navigate back to System > Settings > Certificates.
Refresh the browser window.
Verify the New Certificate:
Locate the new self-signed certificate you just created.
Check the Where Used (or "Used By") column.
Confirmation: It must show a count of 1. This confirms the NSX Manager node is now referencing this certificate.
Verify the Old/Expired Certificate:
Locate the old or expired certificate.
Check the Where Used column.
Confirmation: It should now show a count of 0. This confirms it has been successfully disassociated.
You can only delete a certificate if it is not in use.
Select the Old Certificate:
Ensure the Where Used column for the old/expired certificate displays 0.
Delete:
Click the three dots (...) (ellipsis menu) next to the old certificate.
Select Delete.
Confirm the deletion in the prompt.