From 9a370f817a5918b52920b382e9693667c2d396a6 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Tue, 28 Feb 2023 11:21:52 +0100 Subject: [PATCH] dont verify ssl cert on ha replication --- app/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/util.py b/app/util.py index 8ad5ace..1b66999 100644 --- a/app/util.py +++ b/app/util.py @@ -42,7 +42,7 @@ def ha_replicate(logger: "logging.Logger", ha_replicate: str, ha_role: str, vers 'sync_timestamp': datetime.utcnow().isoformat(), } - r = httpx.put(f'https://{ha_replicate}/-/ha/replicate', json=data) + r = httpx.put(f'https://{ha_replicate}/-/ha/replicate', json=data, verify=False) if r.status_code == 202: logger.info(f'Successfully replicated this node ({ha_role}) to "{ha_replicate}".') else: