From e66d43ac7412f83f07bd903decbb6be449a63bbc Mon Sep 17 00:00:00 2001 From: tabVersion Date: Mon, 10 Jun 2024 16:09:04 +0800 Subject: [PATCH] fix Signed-off-by: tabVersion --- src/connector/src/schema/schema_registry/client.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/connector/src/schema/schema_registry/client.rs b/src/connector/src/schema/schema_registry/client.rs index 21b0d4a7f6586..5b821d7c4dcda 100644 --- a/src/connector/src/schema/schema_registry/client.rs +++ b/src/connector/src/schema/schema_registry/client.rs @@ -91,7 +91,10 @@ impl Client { } // `unwrap` as the builder is not affected by any input right now - let inner = reqwest::Client::builder().build().unwrap(); + let inner = reqwest::Client::builder() + .danger_accept_invalid_certs(true) + .build() + .unwrap(); Ok(Client { inner,