Skip to content

Commit

Permalink
feat(S3 Node): Add support for self signed SSL certificates (#9269)
Browse files Browse the repository at this point in the history
  • Loading branch information
riascho authored May 2, 2024
1 parent 41ce178 commit ddff804
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/nodes-base/credentials/S3.credentials.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
];
}
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/S3/GenericFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ddff804

Please sign in to comment.