Abhishek Pal created RATIS-2634:
-----------------------------------
Summary: Support TLS for Netty RPC transport
Key: RATIS-2634
URL: https://issues.apache.org/jira/browse/RATIS-2634
Project: Ratis
Issue Type: Improvement
Components: Netty
Reporter: Abhishek Pal
Assignee: Abhishek Pal
Netty RPC - both server-to-server (NettyRpcService, NettyRpcProxy) and
client-to-server (NettyClientRpc), has no TLS.
The channel pipelines add only protobuf codecs and handlers, never an
SslHandler. Only the gRPC transport and the Netty data-stream path support TLS
today.
NettyFactory already receives Parameters (which carry TlsConf) but discards
them.
Reuse NettyUtils.buildSslContextForServer/Client(TlsConf) and mirror
NettyServerStreamRpc or NettyClientStreamRpc to introduce TLS support.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)