This script is intended to be used to resolve certificate management issues on NSX 3.2.x and 4.x. It performs integrity checks and recovery operations for NSX self-signed certificates, and can replace certificates that have expired or will be expiring soon.
VMware NSX 4.x
VMware NSX-T Data Center 3.2.x
The script will make an assessment of certificate remediation needed, present the proposed changes and ask for approval to proceed.
Client Requirements:
Python version requirements
OS : MAC and Linux
Architecture - (if internet connection is there then there is no restriction, dependencies are downloaded)
Execution Notes:
/root
directory, it will not work from the /tmp
directorychsh -s /bin/bash root
carr.log
is created in the folder where the start.sh
script is located. For any issues requiring support, please collect this log separately as it will not be collected as part of the support bundle../start -t 100
(to check for certificates expiring in the next 100 days). Execution Steps:
/root
foldertar -xvf carr-1.14.tar.gz
cd carr-1.14
./start.sh
Script options since version 1.11:-o
= this flag is used to force online mode-t
= specify lead time for expiring certificates, between 31 and 825 days.
Uninstall:
CARR script gets installed in the directory ~/.virtualenvs/carr_script
.
For example, when running CARR script on an NSX Manager, the install can be reversed as follows
#rm -rf /root/.virtualenvs/carr_script
Note: This rm
command deletes files recursively without checks. If executed incorrectly it can remove system files irreversibly requiring the NSX appliance to be replaced.
See Create a virtual machine for running the Certificate Analyzer, Results and Recovery (CARR) Script for detailed instructions on creating a Photon OS VM as a location to run the CARR script if no suitable location exists in your environment.
If the suggested resolution steps do not resolve the issue, please consider submitting a support case to Broadcom. Kindly include the error screenshot or details, along with NSX manager log files and script log file (A log named carr.log
is created in the folder where the start.sh
script is located.) for further assistance.