Skip to content

Conversation

@Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Jul 4, 2025

Motivation:

When configuring for mTLS, there is really only one right way to do that. This adds that behaviour.

Modifications:

  • Add mTLSConfiguration option
  • Add tests

Result:

Better behaviour for mTLS.
Resolves #542

@Lukasa Lukasa added the 🆕 semver/minor Adds new public API. label Jul 4, 2025
@Lukasa Lukasa force-pushed the cb-make-mtls-configuration branch from 6f8a5f4 to 2aaabf7 Compare July 4, 2025 00:15
Copy link
Contributor

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

Nice one

Lukasa added 2 commits July 7, 2025 09:44
Motivation:

When configuring for mTLS, there is really only one
right way to do that. This adds that behaviour.

Modifications:

- Add mTLSConfiguration option
- Add tests

Result:

Better behaviour for mTLS.
Resolves apple#542
@Lukasa Lukasa force-pushed the cb-make-mtls-configuration branch from 510c6ae to 2d421f4 Compare July 7, 2025 08:44
@Lukasa Lukasa enabled auto-merge (squash) July 7, 2025 08:44
@Lukasa Lukasa merged commit 8d6730f into apple:main Jul 7, 2025
78 of 79 checks passed
QueTee82

This comment was marked as spam.

aryan-25 pushed a commit to apple/swift-nio-extras that referenced this pull request Oct 23, 2025
To mirror apple/swift-nio-ssl#545

This allows users to easily create a tls configuration for servers which
want to do mtls, with reloading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🆕 semver/minor Adds new public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide a TLSConfiguration.makeServerWithMTLSConfiguration or similar to make it less dangerous to configure mTLS with NIO

3 participants