This document defines the step-by-step procedure to renew or replace NSX Local Manager certificates from Selfsigned certificate to a CA certificate.
It guides the transition from a default self-signed certificate to a secure, CA-signed certificate.
VMware NSX
This process ensures the environment meets organizational standards that require CA certificates.
These steps are also used to resolve replace the expired Local Manager certificates.
There are two primary methods for renewing the certificate based on how the Certificate Signing Request (CSR) is generated.
|
Option |
Description |
|
Common Name |
Enter the Fully Qualified Domain Name (FQDN) of your server (e.g., www.example.com). |
|
Name |
Assign a unique name to identify your certificate. |
|
Organization Unit |
Enter the department handling the certificate (e.g., IT Department). |
|
Organization Name |
Enter your legal organization name (e.g., VMware Inc.). |
|
Locality |
Enter the city where your organization is located (e.g., Palo Alto). |
|
State |
Enter the state where your organization is located (e.g., California). |
|
Country/Region |
Select your organization's location (e.g., United States (US)). |
|
Algorithm |
RSA: Used for digital signatures and encryption. ECDSA: Used for EAL4+ compliance; more efficient than RSA. |
|
Key Size |
RSA: Default is 2048 (3072 and 4096 also supported). ECDSA: Default is 256 bits (384 and 521 bits also supported). |
|
Description |
Enter specific details to help identify this certificate at a later date. |
|
Option |
Description |
|
Name |
Assign a name to the CA certificate. |
|
Certificate Contents |
Browse to the CA certificate file on your computer and add the file. |
|
Description |
Enter a summary of what is included in this CA certificate. |
|
Service Certificate |
Set to NO for use with the Local Manager. |
Once the certificate is imported, you must apply it to the Local Manager service.
POST https://<nsx-mgr>/api/v1/trust-management/certificates/<cert-id>?action=apply_certificate&service_type=LOCAL_MANAGER
Example:
POST https://<local-mgr>/api/v1/trust-management/certificates/XXXXXXXXXXXXXXXXXXX?action=apply_certificate&service_type=LOCAL_MANAGER
Cleanup of old certifcate :
Reference Links
Import a CA Certificate: Broadcom Tech Docs - Import a CA Certificate
Replace Certificates: Broadcom Tech Docs - Replace Certificates through API