From 87489c8e55d759b6f4e992e1c52240d7bfe9ef6d Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Fri, 6 Jun 2025 10:54:25 -0700 Subject: [PATCH] fix api health --- app/utils/api_health.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/api_health.py b/app/utils/api_health.py index 989eb9452..5abd649bf 100644 --- a/app/utils/api_health.py +++ b/app/utils/api_health.py @@ -10,7 +10,7 @@ logger = logging.getLogger(__name__) def get_no_x509_strict_context(): context = ssl.create_default_context() - context.options |= ssl.OP_NO_X509_STRICT + context.verify_flags &= ~ssl.VERIFY_X509_STRICT return context