Skip to content

Conversation

@fabian4
Copy link

@fabian4 fabian4 commented Jan 15, 2026

This PR adds a public hook to configure a custom rustls ClientCertVerifier for server-side TLS listeners. fix #791

The change introduces:

  • An optional client_cert_verifier field on rustls TlsSettings
  • A public setter to inject Arc<dyn ClientCertVerifier>
  • Conditional wiring of with_client_cert_verifier() when a verifier is provided

@fabian4 fabian4 force-pushed the rustls-mtls-listener branch from bdb6088 to 025060e Compare January 15, 2026 15:29
@johnhurt johnhurt added the enhancement New feature or request label Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing API to configure server-side mTLS

3 participants