Skip to content

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

Update hc-vault-connection-fns.ts

Daniel Hougaard2f3ae9f01f0f
diff --git a/backend/src/services/app-connection/hc-vault/hc-vault-connection-fns.ts b/backend/src/services/app-connection/hc-vault/hc-vault-connection-fns.ts
index 938f50988d..676906a8bb 100644
--- a/backend/src/services/app-connection/hc-vault/hc-vault-connection-fns.ts
+++ b/backend/src/services/app-connection/hc-vault/hc-vault-connection-fns.ts
@@ -166,8 +166,7 @@ export const requestWithHCVaultGateway = async <T>(
},
...(isHttps && {
httpsAgent: new https.Agent({
- servername: targetHost,
- rejectUnauthorized: false
+ servername: targetHost
})
})
};