Skip to content

Commit

Permalink
fix(db2): change SSL related keyword and value in connection-manager.…
Browse files Browse the repository at this point in the history
…ts (#16588)
  • Loading branch information
vatro committed Oct 3, 2023
1 parent ee104ba commit 0c4482b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/dialects/db2/connection-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class Db2ConnectionManager extends AbstractConnectionManager<Db2Connectio
UID: config.username,
// @ts-expect-error -- Bad typings
PWD: config.password,
...(config.ssl ? { SECURITY: config.ssl } : undefined),
...(config.ssl ? { Security: 'SSL' } : undefined),
// TODO: pass this property through dialectOptions
// @ts-expect-error -- DB2 specific option that should not be at the top level
...(config.sslcertificate ? { SSLServerCertificate: config.ssl } : undefined),
Expand Down

0 comments on commit 0c4482b

Please sign in to comment.