Skip to content

Add ssl context for verification of certs in FTPS hook - #38266

Merged
potiuk merged 1 commit into
apache:mainfrom
amoghrajesh:ftpFix
Mar 18, 2024
Merged

potiuk merged 1 commit into
apache:mainfrom
amoghrajesh:ftpFix

Conversation

@amoghrajesh

Copy link
Copy Markdown
Contributor

By passing context=ssl.create_default_context() when constructing the FTP_TLS instance, certs are fully verified by default. Adding this change through this PR.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants