Skip to content

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

pam: fix ssl issue

x032205c4195c8a0666
diff --git a/backend/src/ee/services/pam-resource/shared/sql/sql-resource-factory.ts b/backend/src/ee/services/pam-resource/shared/sql/sql-resource-factory.ts
index 413990c5d4..7dd7948ef6 100644
--- a/backend/src/ee/services/pam-resource/shared/sql/sql-resource-factory.ts
+++ b/backend/src/ee/services/pam-resource/shared/sql/sql-resource-factory.ts
@@ -104,8 +104,7 @@ const makeSqlConnection = (
// (like being able to do an auth handshake regardless pass or not)
if (
connectOnly &&
- (error.message === `password authentication failed for user "${TEST_CONNECTION_USERNAME}"` ||
- error.message.includes("no pg_hba.conf entry for host"))
+ error.message === `password authentication failed for user "${TEST_CONNECTION_USERNAME}"`
) {
return;
}