Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Done
-
2.0.0
Description
Ambari agent should trust Ambari server's SSL certificate.
When using Python 2.7 and above, the agent tends to fail connecting with the Ambari server with a CERTIFICATE_VERIFY_FAILED error.
To solve this, else tell Python to no verify certificates (which is insecure):
/etc/python/cert-verification.cfg
[https] verify=disable
See https://access.redhat.com/articles/2039753
Or import the Ambari server's SSL cert into the truststore used by Python, which is more secure.