From a7faf70cb3edfeca2986c796b98a7e2ec4270f50 Mon Sep 17 00:00:00 2001 From: Petr Date: Thu, 12 Mar 2026 14:12:44 +0100 Subject: [PATCH] Allow self-signed certificates for OpenMetadata catalog (internal networks) OpenMetadata catalog uses self-signed HTTPS certificate on internal networks. Disable SSL verification in httpx client and suppress related warnings. --- connectors/openmetadata/client.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/connectors/openmetadata/client.py b/connectors/openmetadata/client.py index 89042b0..6a766b3 100644 --- a/connectors/openmetadata/client.py +++ b/connectors/openmetadata/client.py @@ -10,9 +10,13 @@ Low-level HTTP wrapper for OpenMetadata REST API with these functions: import logging from typing import Dict, List, Optional, Any +import warnings import httpx +# Suppress SSL warnings for self-signed certificates +warnings.filterwarnings("ignore", message="Unverified HTTPS request") + logger = logging.getLogger(__name__) @@ -50,6 +54,7 @@ class OpenMetadataClient: "Content-Type": "application/json", }, timeout=timeout, + verify=False, # Allow self-signed certificates (internal networks) ) def get_table(self, fqn: str) -> Dict[str, Any]: