Skip to content

Commit

Permalink
fix: resolved mssql self signed error
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilmhdh committed Jan 10, 2025
1 parent 8054d93 commit e741b63
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@ export const secretRotationQueueFactory = ({
provider.template.client === TDbProviderClients.MsSqlServer
? ({
encrypt: appCfg.ENABLE_MSSQL_SECRET_ROTATION_ENCRYPT,
// when ca is provided use that
trustServerCertificate: ca ? false : true,
cryptoCredentialsDetails: ca ? { ca } : {}
} as Record<string, unknown>)
: undefined;
Expand Down

0 comments on commit e741b63

Please sign in to comment.