modify spreadsheetupdater.py mTLS certificates

This commit is contained in:
GotthardG committed 2026-03-25 14:24:48 +01:00
1 parent 97d7e56125
commit 12b749c4e6
1 file changed
+3 -1
+3 -1
View File
@@ -149,6 +149,8 @@ def main():
keyfile="/etc/ssl/certs/secrets/mx-x10sa-queue-01_from_dmz-01.key"
)
context.check_hostname = True
ws = websocket.WebSocketApp(
WS_URL,
header=WS_HEADERS,
@@ -158,7 +160,7 @@ def main():
on_open=on_open,
)
print(f"[WS][INFO] Connecting to {WS_URL}...")
print(f"[WS][INFO] Connecting to {WS_URL} using mTLS...")
ws.run_forever(sslopt={"context": context})
except Exception as e: