mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(S3 Node): Add support for self signed SSL certificates (#9269)
This commit is contained in:
@@ -41,5 +41,12 @@ export class S3 implements ICredentialType {
|
|||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
displayName: 'Ignore SSL Issues',
|
||||||
|
name: 'ignoreSSLIssues',
|
||||||
|
type: 'boolean',
|
||||||
|
default: false,
|
||||||
|
description: 'Whether to connect even if SSL certificate validation is not possible',
|
||||||
|
},
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ export async function s3ApiRequest(
|
|||||||
qs: query,
|
qs: query,
|
||||||
uri: endpoint.toString(),
|
uri: endpoint.toString(),
|
||||||
body: signOpts.body,
|
body: signOpts.body,
|
||||||
|
rejectUnauthorized: !credentials.ignoreSSLIssues as boolean,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (Object.keys(option).length !== 0) {
|
if (Object.keys(option).length !== 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user