From 4a590614b906c24e3fd10ddcbfacb2bd41a9b9ff Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Wed, 4 Oct 2023 06:17:25 +0000 Subject: [PATCH] backend/admin_ops: don't verify certs on send request Fixes: aquarist-labs/s3gw#737 Signed-off-by: Joao Eduardo Luis --- src/backend/admin_ops/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/admin_ops/__init__.py b/src/backend/admin_ops/__init__.py index 1869d4a0..cd88dff5 100644 --- a/src/backend/admin_ops/__init__.py +++ b/src/backend/admin_ops/__init__.py @@ -62,7 +62,7 @@ def signed_request( async def send_request(req: httpx.Request) -> httpx.Response: - async with httpx.AsyncClient() as client: + async with httpx.AsyncClient(verify=False) as client: res: httpx.Response = await client.send(req) if not res.is_success: raise error_from_response(res)