To resolve this issue, complete the steps below.
- Log into the vRealize Network Insight Platform VM as the support user via SSH or Console.
- Run the following command switch to the Ubuntu user:
ub
- Run the following command to backup the recertify_host.sh file:
cp /home/ubuntu/cli/bin/recertify_host.sh /home/ubuntu/cli/bin/recertify_host.bak
- Run the following command to make edits to the recertify_host.sh file:
sudo sed -i "71s/ne/eq/" /home/ubuntu/cli/bin/recertify_host.sh
The custom-cert apply command can now be run without issue if the certificate is valid.