Friday, September 30, 2022

How to renew Self-Signed certificates for NSX-T LocalManager, tomcat and mp-cluster.

 Hello Everyone,

Hope you are doing well.

Today, i am covering this posts regarding the self-signed certificate expires in NSX-T environments for components like LocalManager and mp-cluster. 

you will see warnings on NSX-T GUI that LocalManager and mp-cluster self-signed certificates has been expired. 

Generally, we update only NSX Manager Cluster/VIP certificates only. 

Certificates for LocalManager, tomcat and mp-cluster comes with self-signed certificates when we deployed the NSX-T environment.

tomcat certificates is an API certificate used for external communication with individual NSX Manager nodes through UI/API.

mp-cluster is an API certificate used for external communication with the NSX Manager cluster using the cluster VIP, through UI/API.




Let's start to renew the LocalManager self-signed certificates.

Login to NSX-T GUI with admin credentials.

Go to Systems > Under Settings click on Certificates > click on CSRs > click GENERATE CsR





Click on GENERATE. CSR for LocalManager certificates will generate and shows as below.



Now, select the LocalManager CSR and go to Actions and click on Self Sign Certificate for CSR.




Once you click on Self Sign Certificate for CSR, it will ask for number of days the certificate will be active, by default is 825 days but we can modify the number of days according to our policy.



Click on ADD. Certificate will be generated and you can see in Certificates Tab like below.




Now, you can delete the existing expired local-manager certificate and certificate alarm will be resolved in NSX-T GUI.


If you will get error while deleting the expired certificates like "Certificate cannot be deleted because it is used by 1 MP node(s)" then you need to use the NSX-T API to find the node which is using this expired certificates and then release the certificates from that node and then you will be able to delete the certificate successfully.

Hope, this will be informative. thanks !!


Edge node vmid not found on NSX manager

  Hello There, Recently , we faced an issue in our NSX-T envrironment running with 3.2.x version. We saw below error message while running t...