Fixes N8N-8225

Adds SSL credentials to MySQL SQL Agent DataSource.
This commit is contained in:
Sergi Ramón 2025-01-29 18:51:46 +01:00 committed by GitHub
parent 0da1114981
commit 8caef6ecd3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,6 +12,9 @@ export async function getMysqlDataSource(this: IExecuteFunctions): Promise<DataS
password: credentials.password as string,
database: credentials.database as string,
ssl: {
ca: credentials.caCertificate as string,
cert: credentials.clientCertificate as string,
key: credentials.clientPrivateKey as string,
rejectUnauthorized: credentials.ssl as boolean,
},
});