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

Fix ability to use attls #544

Merged
merged 12 commits into from
May 28, 2024
Merged

Fix ability to use attls #544

merged 12 commits into from
May 28, 2024

Conversation

1000TurquoisePogs
Copy link
Member

@1000TurquoisePogs 1000TurquoisePogs commented Apr 5, 2024

Fix not being able to run in an http mode and still do https client calls for use with attls

ATTLS used to work fine but we've had regressions about using http.
There are conditionals in the code where if http exists, https will not be used.
There are conditionals in the code that detect if https exists, and to not use http if so.
These are not quite correct and should be based upon attls use.
The server can be HTTP for attls, yet still wish to issue HTTPS calls outward, and therefore want certificates still.

This PR depends upon zowe/zowe-install-packaging#3463 and zowe/zlux-app-server#300

…alls for use with attls

Signed-off-by: 1000TurquoisePogs <[email protected]>
…rity plugin as 5th arg.

Signed-off-by: 1000TurquoisePogs <[email protected]>
Copy link
Contributor

@sakshibobade21 sakshibobade21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just found one small typo. Otherwise the PR lgtm.

lib/util.js Outdated
}

function isClientAttls(zoweConfig) {
let clientGlobalAttls = zoweConfig.zowe.network?.client?.tls?.attls;
let clientLocalAttls zoweConfig.components['app-server'].zowe?.network?.client?.tls?.attls;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need "=" after let clientLocalAttls

Signed-off-by: 1000TurquoisePogs <[email protected]>
Signed-off-by: 1000TurquoisePogs <[email protected]>
@1000TurquoisePogs 1000TurquoisePogs merged commit d2a02a2 into v2.x/staging May 28, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

3 participants