Skip to content

Conversation

@aryan-25
Copy link
Collaborator

Motivation:

We currently do not propagate the certificateVerification argument in the mTLS and reloadingMTLS methods in NIOHTTPServerConfiguration/TransportSecurity. This means the default value, .noHostnameVerification, is always used.

Modifications:

Propagated the certificateVerification argument in both the mTLS and reloadingMTLS config methods.

Result:

The certificateVerification argument is now respected.

@aryan-25 aryan-25 added the 🔨 semver/patch No public API change. label Jan 14, 2026
@aryan-25 aryan-25 requested a review from gjcairo January 14, 2026 17:39
@gjcairo gjcairo merged commit ae786d6 into swift-server:main Jan 15, 2026
15 of 26 checks passed
@aryan-25 aryan-25 deleted the fix-certificate-verification branch January 26, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔨 semver/patch No public API change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants