Trouble connecting to ElasticSearch Cloud via python library

(David9) #1


Can't connect, it's telling me "elasticsearch.exceptions.ImproperlyConfigured: Root certificates are missing for certificate validation. Either pass them in using the ca_certs parameter or install certifi to use it automatically." I didn't think certs were required to connect to Cloud instance, I'm guessing I'm just using this constructor incorrectly?

es = Elasticsearch(
http_auth=('elastic', 'password'),

(David9) #2

SOLUTION: I inserted verify_certs=False and this now works.

(system) #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.