Skip to content

Verify the peer identity of the Netty TLS server the worker client connects to - #8987

Open
rzo1 wants to merge 1 commit into
masterfrom
fix/netty-client-endpoint-identification
Open

Verify the peer identity of the Netty TLS server the worker client connects to#8987
rzo1 wants to merge 1 commit into
masterfrom
fix/netty-client-endpoint-identification

Conversation

@rzo1

@rzo1 rzo1 commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

StormClientPipelineFactory called sslContext.newHandler(ch.alloc()), the overload that supplies no peer host or port, so the client engine had no address to check the server certificate against.

The peer host and port are now passed through from the Client, and a new storm.messaging.netty.tls.hostnameVerification key (default true) can turn the check off.

This requires certificates carrying a SAN that matches the address workers connect to, host or IP SANs rather than DNS only. Only affects clusters with storm.messaging.netty.tls.enable set; TLS is off by default. Adds StormClientPipelineFactoryTest.

@rzo1 rzo1 added this to the 3.1.0 milestone Aug 21, 2026
@rzo1 rzo1 self-assigned this Aug 21, 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