Skip to content

fix(tls): require HTTPS for mTLS - #342

Merged
cathleeny merged 1 commit into
mainfrom
codex/mtls-require-https
Sep 16, 2026
Merged

cathleeny merged 1 commit into
mainfrom
codex/mtls-require-https

Conversation

@cathleeny

Copy link
Copy Markdown
Collaborator

Summary

  • canonicalize explicit HTTP(S) endpoint schemes case-insensitively
  • reject a complete mTLS client identity on non-HTTPS endpoints before auth or network activity
  • preserve existing HTTP behavior for non-mTLS connections and existing missing-cert/key diagnostics

Fixes #313.

Related conformance coverage: https://github.com/databricks/databricks-driver-test/pull/1541

Testing

  • full cargo test
  • formatting and strict Clippy checks
  • native-TLS and rustls configurations
  • C ABI mTLS E2E tests (3/3 on each TLS backend)
  • AUTH-015 lower- and upper-case HTTP regression cases from driver-test PR #1541

Signed-off-by: cat23123 <58714163+cat23123@users.noreply.github.com>

@oss-reviewer-bot oss-reviewer-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ No issues identified by the review bot.

@cathleeny
cathleeny added this pull request to the merge queue Sep 16, 2026
Merged via the queue into main with commit 83ce92b Sep 16, 2026
20 of 21 checks passed
@cathleeny
cathleeny deleted the codex/mtls-require-https branch September 16, 2026 18:43

This branch was previously deployed

1 inactive deployment
azure-prod — 94514b89 Deployed Sep 16, 2026 by cathleeny via v0 TLS (mitmproxy) #726
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.

[coverage] Conformance findings: AUTH-015

1 participant