Identify if the certificate is self-signed or CA-signed before proceeding with renewal.
1. Verify Certificate Status
Navigate to System > Certificates and check the Used By column.
- If
Used By is 0: Select the certificate and click Delete. - If
Used By is greater than 0: Proceed to renewal steps below.
2. Renew Self-Signed Certificates
Option A: NSX 4.2.0 and Higher (UI-Based)
Use the built-in renewal feature:
- Navigate to
System > Certificates. - Select the expiring certificate.
- Select
Actions > Replace Certificates. - Follow the prompts to generate and apply the new certificate.
Note: Refresh the browser session after replacing API or VIP (tomcat) certificates.
Option B: NSX 4.1.x and Older (Script-Based)
Use the Certificate Analyzer, Results and Recovery (CARR) script to automate renewal:
- Download the CARR script attached to Using Certificate Analyzer, Results and Recovery (CARR) Script to fix certificate related issues in NSX.
- Upload the script to the NSX Manager via
SCP. - Execute the script via CLI to detect and replace expired self-signed certificates.
3. Renew CA-Signed Certificates
- Generate a new CSR or obtain a new certificate from the organization's Certificate Authority.
- Import the new certificate into NSX under
System > Certificates > Import. - Use the API or UI (if supported in your version) to swap the certificate service binding.
Note:- If in use, expired certificates must be replaced with valid certificates.
- Services may be functionally impacted until the certificates are replaced.
- Expired certificates that are no longer in use must be deleted.