Certificate verify failed python api client with ansible
nou
Registered Posts: 1 ✭✭✭✭
Hi, i am trying to administrate DSS with Dataiku DSS modules via ansible and I am getting this error:
"msg":"SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)"
how can I fix this?
Answers
-
Hi,
Without more context on what you are trying to do with the Dataiku API client, it is difficult to identify the root cause of the error.
Have you followed the SSL Certificate steps highlighted on https://doc.dataiku.com/dss/latest/installation/custom_install.html#configuring-https?
Otherwise, the easiest remains to use SSL without verification by doing
client = dataikuapi.DSSClient('<hostname:port>', api_key)
client._session.verify = FalseHope it helps,
Alex