Skip to content

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

misc: added sni

Sheen Capadnganff9644a14d15
diff --git a/backend/src/ee/services/pam-resource/kubernetes/kubernetes-resource-factory.ts b/backend/src/ee/services/pam-resource/kubernetes/kubernetes-resource-factory.ts
index fcfca61cfb..5fb4516fe3 100644
--- a/backend/src/ee/services/pam-resource/kubernetes/kubernetes-resource-factory.ts
+++ b/backend/src/ee/services/pam-resource/kubernetes/kubernetes-resource-factory.ts
@@ -51,7 +51,8 @@ export const executeWithGateway = async <T>(
}
const httpsAgent = new https.Agent({
ca: connectionDetails.sslCertificate,
- rejectUnauthorized: connectionDetails.sslRejectUnauthorized
+ rejectUnauthorized: connectionDetails.sslRejectUnauthorized,
+ servername: targetHost
});
return withGatewayV2Proxy(
async (proxyPort) => {