Skip to content

Respect Zowe rejectUnauthorized setting#11

Merged
Tannex merged 3 commits into
mainfrom
agent/respect-reject-unauthorized
Jul 15, 2026
Merged

Respect Zowe rejectUnauthorized setting#11
Tannex merged 3 commits into
mainfrom
agent/respect-reject-unauthorized

Conversation

@Tannex

@Tannex Tannex commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • accept Zowe zosmf profiles that explicitly set rejectUnauthorized: false
  • scope disabled certificate verification to the cloned HTTP transport for that Zowe session
  • retain certificate verification by default and when rejectUnauthorized is true
  • document the man-in-the-middle risk and recommend trusting the z/OSMF CA instead

Root cause

The native Zowe configuration loader parsed rejectUnauthorized, but rejected HTTPS profiles when the resolved value was false. This differed from Zowe's configured behavior and prevented access to z/OSMF installations with noncompliant or privately managed certificates.

User impact

Profiles that explicitly opt out of certificate verification now work with cq. Profiles that omit the setting continue to verify certificates by default.

Validation

  • go test ./...
  • go test -race ./...
  • go vet ./...
  • Darwin arm64 test-binary cross-compilation
  • Windows amd64 test-binary cross-compilation

Comment thread zowe_native_transport.go Fixed
Comment thread zowe_native_transport.go Fixed
@Tannex
Tannex marked this pull request as ready for review July 15, 2026 21:04
@Tannex
Tannex merged commit d480fde into main Jul 15, 2026
2 checks passed
@Tannex
Tannex deleted the agent/respect-reject-unauthorized branch July 15, 2026 21:05
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.

2 participants