I am using SG 2 with Elastic 2.4.1.
I noticed that when I try to connect to Elasticsearch with curl, I got the error “Client requested protocal TLSv1 not enabled or not supported”.
This was because Curl was using TLSv1 for connecting. So I used curl -k --tlsv1.1 and it worked.
Now when I am trying to connect to ElasticSearch from R using elastic package, I am getting the same error.
I am not able to figure out if there is a way in R to point it to use TLSv1.1/1.2
Please suggest how to solve this problem.