I'm trying to access ElasticSearch AWS from my localhost through Python (I can access it through my browser).
from elasticsearch import Elasticsearch
ELASTIC_SEARCH_ENDPOINT = 'https://xxx'
es = Elasticsearch([ELASTIC_SEARCH_ENDPOINT])
I'm receiving this error:
ImproperlyConfigured('Root certificates are missing for certificate validation. Either pass them in using the ca_certs parameter or install certifi to use it automatically.',)
How can I access it? I have not configured any certificate, I only liberated the IPs that can access ElasticSearch Service.