diff --git a/sql/engines/elasticsearch.py b/sql/engines/elasticsearch.py index 575752fa6b..1c135aad76 100644 --- a/sql/engines/elasticsearch.py +++ b/sql/engines/elasticsearch.py @@ -1114,7 +1114,7 @@ def get_connection(self, db_name=None): self.conn = OpenSearch( hosts=hosts, http_auth=http_auth, - verify_certs=False, # 开启证书验证 + verify_certs=True, # 开启证书验证 ) except Exception as e: raise Exception(f"OpenSearch 连接建立失败: {str(e)}")