Es-Sql-Query - http client did not trust this server's certificate

Hi all,

Im having issues with getting data from my index, using elasticsearch-sql-cli:

/usr/share/elasticsearch/bin/elasticsearch-sql-cli https://elastic:my-password@elastic.local:9200

ERROR: Cannot communicate with the server https://my-password@elastic.local

    [2020-09-09T17:01:33,597][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [ELK-SVR] http client did not trust this server's certificate, 
        closing connection Netty4HttpChannel{localAddress=/, remoteAddress=/}

Below is my es.yml config for XPACK:

#---------------------------------- XPACK ----------------------------------- true true true certs/elastic.key certs/elastic.crt certs/ca.crt certs/elastic.key certs/elastic.crt certs/ca.crt

Cant seem to figured this one out. Grateful for any help received.

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