Starting from NSX 4.2, the NSX Manager UI offers an option to renew the certificate on the NSX Manager Node.
During certificate replacement, you may encounter the following error message:
Error: Not allowed to apply a service-type API to a CA-signed certificate without hostname check passing. (Error code: 2158)
VMware NSX
This issue can occur if the Subject Alternative Name (SAN) field information in the certificate is incorrect.
Verify the certificate includes the SAN field with the hostname of the individual NSX Manager node.