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

do not include subject key identifier in leaf certificates #6549

Merged
merged 1 commit into from Dec 12, 2023

Conversation

mhils
Copy link
Member

@mhils mhils commented Dec 12, 2023

This fixes #6494: if CA and leaf share the same Subject Key Identifier, SChannel gets confused. So we just skip the SKI for leafs, which is still fine with OpenSSL 3.x (this was previously fixed by @mmaxim) and RFC 5280.

@driuba did the hard work of nailing down the issue, this here is a slightly simpler (and more performant) fix for the problem.

closes #6546

@mhils mhils force-pushed the to-ski-or-not-to-ski branch 2 times, most recently from c0b6474 to 731cec5 Compare December 12, 2023 17:59
This fixes mitmproxy#6494: if CA and leaf share the same SKI,
SChannel gets confused.

Co-authored-by: Andrius Andrikonis <andrius.andrikonis@toughlex.com>
@mhils mhils merged commit 9787871 into mitmproxy:main Dec 12, 2023
21 checks passed
@mhils mhils deleted the to-ski-or-not-to-ski branch December 12, 2023 18:19
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.

TLS issues with Windows/Schannel clients since 10.1.2
1 participant