I'm trying to connect to a server with Elastic Search. This can be done in a linux terminal with the following script:
curl --insecure -XGET https://user:pwd@host:9200/ . When I use transport_schema = "http" in the connect function, I get an "empty reply from server" error. When I use transport_schema = "https", I get a "Peer's Certificate issuer is not recognized" error. My IT people are telling me that this is because there is encryption but the root certs are not registered. Is there a way to specify this "--insecure" option in the connect function?
I'm trying to connect to a server with Elastic Search. This can be done in a linux terminal with the following script:
curl --insecure -XGET https://user:pwd@host:9200/
. When I usetransport_schema = "http"
in theconnect
function, I get an "empty reply from server" error. When I usetransport_schema = "https"
, I get a "Peer's Certificate issuer is not recognized" error. My IT people are telling me that this is because there is encryption but the root certs are not registered. Is there a way to specify this "--insecure" option in theconnect
function?