Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS FTP support #53

Merged
merged 3 commits into from
Oct 3, 2023
Merged

TLS FTP support #53

merged 3 commits into from
Oct 3, 2023

Conversation

1000TurquoisePogs
Copy link
Member

@1000TurquoisePogs 1000TurquoisePogs commented Oct 3, 2023

This PR alters the connection page to give the option for the FTP session to use TLS.
The FTP library we use already had TLS support, so this is only about providing prompts for the user to choose it or not.

By default, the page looks the same as before: FTP without TLS is the default. Perhaps we should change that?

If they select "Use FTP over TLS", then a box expands to ask about tls min/max versions, and whether or not to accept invalid certificates.

About certificates:
node doesnt seem to have a hook for prompting the user if they want to accept a certificate that cant be verified. it's either strict verification or no verification.
so the user can click strict, and then if it fails, can try again without strict.
but we need an easy way for users to provide CAs for verifying certificates.
it seems there are node libraries for reading system keyrings for that purpose, and we should get one.
but it could also be possible to just pick up CAs found in ~/.zowe/zen/cas

image

@1000TurquoisePogs 1000TurquoisePogs merged commit 0f06959 into v2.x/staging Oct 3, 2023
4 checks passed
@jp669844 jp669844 added this to the ZEN 1.0.0 milestone Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants