[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain
All Avi LB versions
The error occurs because the Avi Controller cannot verify the SSL certificate presented by the Certificate Management Profile endpoint. When the endpoint's certificate is signed by a private (internal) root or intermediate Certificate Authority (CA), the Avi Controller does not trust it by default, since these private CA certificates are not included in its trusted certificate store.
Add the root and intermediate certificates to Avi controller. Follow the steps below:
c_rehash /usr/lib/ssl/certsThe above two steps must be carried out on all the controller nodes, if it is a three-node cluster.
Please note that the steps must be re-done after an upgrade.