Temporarily disable SSL verification

master
Erik de Vries 2 years ago
parent 2944039f73
commit 3f268bbf06

@ -33,7 +33,9 @@ elasticizer <- function(query, src = T, index = 'maml', es_pwd = .rs.askForPassw
es_path = 'es', es_path = 'es',
es_user = 'es', es_user = 'es',
es_pwd = es_pwd, es_pwd = es_pwd,
errors = 'complete') errors = 'complete',
ssl_verifypeer = FALSE,
ssl_verifyhost=FALSE)
} }
if (localhost == T){ if (localhost == T){
connect(es_port = 9200, connect(es_port = 9200,
@ -53,7 +55,9 @@ elasticizer <- function(query, src = T, index = 'maml', es_pwd = .rs.askForPassw
path = 'es', path = 'es',
user = 'es', user = 'es',
pwd = es_pwd, pwd = es_pwd,
errors = 'complete') errors = 'complete',
ssl_verifypeer = FALSE,
ssl_verifyhost=FALSE)
} }
if (localhost == T){ if (localhost == T){
conn <- connect(port = 9200, conn <- connect(port = 9200,

Loading…
Cancel
Save