mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
feat(S3 Node): Add support for self signed SSL certificates (#9269)
This commit is contained in:
parent
41ce178491
commit
ddff80416d
|
@ -41,5 +41,12 @@ export class S3 implements ICredentialType {
|
|||
type: 'boolean',
|
||||
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,
|
||||
uri: endpoint.toString(),
|
||||
body: signOpts.body,
|
||||
rejectUnauthorized: !credentials.ignoreSSLIssues as boolean,
|
||||
};
|
||||
|
||||
if (Object.keys(option).length !== 0) {
|
||||
|
|
Loading…
Reference in a new issue