reintroduced certificate checks, linux01 certs work again

master
Erik de Vries 2 years ago
parent fcdffb6f58
commit 5c80d82828

@ -34,9 +34,10 @@ elasticizer <- function(query, src = T, index = 'maml', es_user, es_pwd = .rs.as
es_path = 'es', es_path = 'es',
es_user = es_user, es_user = es_user,
es_pwd = es_pwd, es_pwd = es_pwd,
errors = 'complete', errors = 'complete'
ssl_verifypeer = FALSE, # ssl_verifypeer = FALSE,
ssl_verifyhost=FALSE) # ssl_verifyhost=FALSE
)
} }
if (localhost == T){ if (localhost == T){
connect(es_port = 9200, connect(es_port = 9200,
@ -56,9 +57,10 @@ elasticizer <- function(query, src = T, index = 'maml', es_user, es_pwd = .rs.as
path = 'es', path = 'es',
user = es_user, user = es_user,
pwd = es_pwd, pwd = es_pwd,
errors = 'complete', errors = 'complete'
ssl_verifypeer = FALSE, # ssl_verifypeer = FALSE,
ssl_verifyhost=FALSE) # ssl_verifyhost=FALSE
)
} }
if (localhost == T){ if (localhost == T){
conn <- connect(port = 9200, conn <- connect(port = 9200,

Loading…
Cancel
Save