Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

add missing provider

Thiago Araujo da Silva2111b3e3b137
diff --git a/backend/src/ee/services/app-connections/chef/chef-connection-fns.ts b/backend/src/ee/services/app-connections/chef/chef-connection-fns.ts
index a26c15bfbe..ccd96eef88 100644
--- a/backend/src/ee/services/app-connections/chef/chef-connection-fns.ts
+++ b/backend/src/ee/services/app-connections/chef/chef-connection-fns.ts
@@ -9,6 +9,7 @@ import { BadRequestError } from "@app/lib/errors";
import { removeTrailingSlash } from "@app/lib/fn";
import { withGatewayV2Proxy } from "@app/lib/gateway-v2/gateway-v2";
import { GatewayProxyProtocol } from "@app/lib/gateway-v2/types";
+import { getTlsServerNameOptions } from "@app/lib/tls";
import { blockLocalAndPrivateIpAddresses, safeRequest } from "@app/lib/validator";
import { AppConnection } from "@app/services/app-connection/app-connection-enums";
import { IntegrationUrls } from "@app/services/integration-auth/integration-list";
@@ -177,7 +178,7 @@ export const requestWithChefGateway = async <T>(
maxBodyLength: CHEF_MAX_RESPONSE_BYTES,
...(isHttps && {
httpsAgent: new https.Agent({
- servername: targetHost
+ ...getTlsServerNameOptions(targetHost)
})
})
};