Skip to content

DSP-24887: Enable SAN-aware peer identity lookup for Endpoint verifications on hostname - #42

Open
piyushk010 wants to merge 1 commit into
dse-netty-4.1.135from
dse-netty-4.1.135.2
Open

DSP-24887: Enable SAN-aware peer identity lookup for Endpoint verifications on hostname#42
piyushk010 wants to merge 1 commit into
dse-netty-4.1.135from
dse-netty-4.1.135.2

Conversation

@piyushk010

Copy link
Copy Markdown

This patch is a rebase of #40 on top of dse-netty-4.1.135

Enable SAN-aware peer identity lookup for Netty client endpoint verification based
on hostname.

Added a new opt-in SAN-aware peer identity feature via `SAN_PEER_IDENTITY_LOOKUP`
in Netty SSL context configuration. Implemented `SanPeerIdentityTrustManager` to
dynamically select the verification identity based on certificate SAN types,
including optional reverse-DNS lookup for IP-based peers with DNS SAN certs.

Integrated the feature into both JDK and OpenSSL client TLS paths by wrapping
`X509ExtendedTrustManager` during SSL context/session creation. Updated
`SslContextBuilder`, `OpenSslClientContext`, `ReferenceCountedOpenSslClientContext`,
and `JdkSslClientContext` so the SAN-aware verification behavior is propagated
consistently across providers.
@piyushk010
piyushk010 force-pushed the dse-netty-4.1.135.2 branch from ef52e6a to 4f11eaa Compare July 31, 2026 16:06
@piyushk010 piyushk010 changed the title DSP-24887: Enable SAN-aware peer identity lookup for verifications DSP-24887: Enable SAN-aware peer identity lookup for Endpoint verifications on hostname Jul 31, 2026
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.

1 participant