[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15491319#comment-15491319
 ] 

Arshad Mohammad commented on ZOOKEEPER-1971:
--------------------------------------------

Thanks [~phunt] for the feedback
There is two reasons current patch is not working with JMXSSL=true
1)There is a problem in the code
2) Some more configurations are required,in addition to what you already 
configured.

Submitting new patch to fix the 1) problem.
After this new patch following configurations worked for me.
{noformat}
configured rmi.connector.port=6615 in zoo.cfg
added following in zkEnv.sh
SERVER_JVMFLAGS="$SERVER_JVMFLAGS 
-Djavax.net.ssl.keyStore=/home/sage/resources/common/keystore"
SERVER_JVMFLAGS="$SERVER_JVMFLAGS -Djavax.net.ssl.keyStorePassword=mypass"
SERVER_JVMFLAGS="$SERVER_JVMFLAGS 
-Djavax.net.ssl.trustStore=/home/sage/resources/common/keystore"
SERVER_JVMFLAGS="$SERVER_JVMFLAGS -Djavax.net.ssl.trustStorePassword=mypass"
export SERVER_JVMFLAGS=$SERVER_JVMFLAGS
export JMXSSL=true
export JMXPORT="6610"
Connected from JConsole: 
jconsole -J-Djavax.net.ssl.trustStore=D:/workspace/ssl/keystore 
-J-Djavax.net.ssl.trustStorePassword=mypass
{noformat}

> Make JMX remote monitoring port configurable
> --------------------------------------------
>
>                 Key: ZOOKEEPER-1971
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1971
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>    Affects Versions: 3.5.0
>         Environment: All
>            Reporter: Biju Nair
>            Assignee: Arshad Mohammad
>             Fix For: 3.5.3, 3.6.0
>
>         Attachments: ZOOKEEPER-1971-01.patch, zookeeperAdmin.pdf, 
> zookeeperJMX.pdf
>
>
> This is a follow-up item from ZOOKEEPER-1948.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to