get managers command####-##-##T##:##:##.###Z <NSXedge-name> NSX 7216 - [nsx@6876 comp="nsx-edge" subcomp="nsx-proxy" s2comp="nsx-net" tid="7236" level="WARNING"] StreamConnection[385 Connecting to ssl://<NSX_Manager_IP>:1235 sid:385] Couldn't connect to 'ssl://<NSX_manager_IP>:1235' (error: 336151574-sslv3 alert certificate unknown)
Sometimes the host certificates couldn't be updated properly on the failed edge nodes by the NSX managers and this might result in such inconsistent state of Edge nodes.
To resolve the error, perform below actions on the failed edge node:
get certificate api thumbprintpush host-certificate <manager-IP-FQDN:port> username <username> thumbprint <cert-api-thumbprint-of-manager> password <password>sync-aph-certificates <NSX-Manager-IP> username admin thumbprint <thumbprint> password <password>/etc/init.d/nsx-proxy restart
/etc/init.d/nsx-opsagent appliance restart
If the issue still persists on the Edge node, perform below actions
Backup existing certificate and private key and remove them from the edge node as below
cp /etc/vmware/nsx/host-cert.pem /etc/vmware/nsx/host-cert.pem.oldcp /etc/vmware/nsx/host-privkey.pem /etc/vmware/nsx/host-privkey.pem.oldrm -f /etc/vmware/nsx/host-cert.pem /etc/vmware/nsx/host-privkey.pemGet the certificate thumbprint from any NSX manager executing command
get certificate api thumbprintExecute push host-certificate and sync-aph-certificates to the NSX Manager and restart nsx-proxy and nsx opsagent as below:
push host-certificate <manager-IP-FQDN> username <username> thumbprint <cert-api-thumbprint-of-manager> password <password>sync-aph-certificates NSX-Manager-IP username admin thumbprint <thumbprint> password <password>/etc/init.d/nsx-proxy restart
/etc/init.d/nsx-opsagent appliance restart
Refer KB 369349