Son*_*nny 2 configuration openssl r elasticsearch ropensci
我使用elastic 0.7.8
R包连接到我的Elastic Search
实例.最近,我试图通过使用来保护弹性搜索Search Guard 2
.
在确保它之后,一切都会受到罚款.但是当我尝试从R连接时,它失败了.
library(elastic)
connect(es_base = "https://localhost", es_port = 9200, es_user = USER, es_pwd = PASS)
Run Code Online (Sandbox Code Playgroud)
日志中的错误是"客户端请求的protocal TLSv1未启用或不支持"
我尝试使用cURL连接到弹性搜索,如下所示:
我无法弄清楚如何强制R使用TLSv1.1.
请协助.
以下是版本:
小智 5
在elasticsearch.yml中简单设置
searchguard.ssl.http.enabled_protocols:
- "TLSv1.2"
- "TLSv1.1"
- "TLSv1"
Run Code Online (Sandbox Code Playgroud)
另见https://github.com/floragunncom/search-guard-ssl/blob/master/searchguard-ssl-config-template.yml