From a2118d5aab0bee77d90196c88a951596af77d77b Mon Sep 17 00:00:00 2001 From: Yi-an Shih Date: Fri, 23 Aug 2024 14:27:53 +1000 Subject: [PATCH] fix: disable tls on elasticsearch connect --- brownie/src/modules/elasticsearch/implementation.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/brownie/src/modules/elasticsearch/implementation.ts b/brownie/src/modules/elasticsearch/implementation.ts index 590d9f5..5145cdf 100644 --- a/brownie/src/modules/elasticsearch/implementation.ts +++ b/brownie/src/modules/elasticsearch/implementation.ts @@ -22,6 +22,9 @@ export const clean = async (moduleName: string, config: Config, moduleConfig: El const client = new Client({ auth: basicAuth, nodes: nodes as string[], + tls: { + rejectUnauthorized: false, + }, }) logger.info("%s.clean(): Connecting to Elasticsearch server...", moduleName)