I am dealing with ElasticSearch library on Python and at some point I need to implement on some Elastic Server. My connection attempts always fail with error InsecureRequestWarning: Unverified HTTPS request is being made to host.
client=Elasticsearch(
hosts=["https:/something:something@servername:9200"],
use_ssl=True,
verify_certs=True,
ca_certs="some-cert"
)