From 65907fc0a785f2005f3617fa9fd86b7f6f90ec13 Mon Sep 17 00:00:00 2001 From: Dustin Kaiser Date: Wed, 27 Nov 2024 17:00:09 +0100 Subject: [PATCH] Fix local deployment graylog provisioning --- services/graylog/scripts/configure.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/services/graylog/scripts/configure.py b/services/graylog/scripts/configure.py index ff217224..8cb91ed9 100644 --- a/services/graylog/scripts/configure.py +++ b/services/graylog/scripts/configure.py @@ -48,7 +48,9 @@ before=before_log(logger, logging.INFO), ) def wait_graylog_is_online(): - _r = requests.get(GRAYLOG_BASE_DOMAIN + "/api/system", auth=REQUESTS_AUTH) + _r = requests.get( + GRAYLOG_BASE_DOMAIN + "/api/system", auth=REQUESTS_AUTH, verify=False + ) if _r.status_code == 401: raise TypeError(f"Graylog unauthorized HTTP response: {_r}") @@ -58,7 +60,9 @@ def wait_graylog_is_online(): def validate_graylog_version_is_supported(): - _r = requests.get(GRAYLOG_BASE_DOMAIN + "/api/system", auth=REQUESTS_AUTH) + _r = requests.get( + GRAYLOG_BASE_DOMAIN + "/api/system", auth=REQUESTS_AUTH, verify=False + ) _r.raise_for_status() graylog_version = _r.json()["version"]