mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34: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',
|
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) {
|
||||||
|
|
Loading…
Reference in a new issue