You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Mohammad Arshad (Jira)" <ji...@apache.org> on 2021/03/25 11:42:00 UTC
[jira] [Commented] (ZOOKEEPER-3887) In SSL-only server zkServer.sh
status command should use secureClientPortAddress instead of
clientPortAddress
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17308607#comment-17308607 ]
Mohammad Arshad commented on ZOOKEEPER-3887:
--------------------------------------------
I created SSL certificate for test with CN=host1, ZK server was not starting as server by default binds on localhost. It was failing with certificate_unknown error.
Configured secureClientPortAddress=host1 now ZK server started successfully but zkServer.sh status command started failing because this command was using localhost as clientPortAddress was not configured
Summited changes in the PR so status command uses configured secureClientPortAddress value instead of clientPortAddress value.
> In SSL-only server zkServer.sh status command should use secureClientPortAddress instead of clientPortAddress
> -------------------------------------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-3887
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3887
> Project: ZooKeeper
> Issue Type: Bug
> Components: scripts
> Reporter: Mohammad Arshad
> Assignee: Mohammad Arshad
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.8.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When only SSL client port is enabled, zkServer.sh status command should use secureClientPortAddress value instead of clientPortAddress.
> As clientPortAddress is not configured, zkServer.sh status command tries to connect to localhost and fails.
> ZOOKEEPER-3818 has addressed the port issue, same way we should address the host issue.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)