Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLedgerRpcNettyService can not communicate with each other when tls enabled #4273

Closed
zhanxuefeng opened this issue May 10, 2022 · 2 comments
Closed

Comments

@zhanxuefeng
Copy link

RocketMQ version: 4.9.3
enableDLegerCommitLog=true

I set -Dtls.enable=true -Dtls.server.mode=enforcing -Dtls.config.file=C:\Software\rocketmq-4.9.2\conf\tls.properties in BrokerStartup command line, but DLedgerRpcNettyService can not communicate with each other.

I notice that in DLedgerRpcNettyService, a NettyRemotingServer(remotingServer) was build with a new NettyServerConfig, and a NettyRemotingClient(remotingClient) was build with a new NettyClientConfig, but remotingServer load the tls conf(tls.server.mode) from system propeties and remotingClient load the tls conf(useTLS) from NettyServerConfig which is default false and can not set, so remotingServer is tls enabled but remotingClient is not enabled.

@github-actions
Copy link

This issue is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs.

@github-actions github-actions bot added the stale label May 11, 2023
@github-actions
Copy link

This issue was closed because it has been inactive for 3 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants