[ https://issues.apache.org/jira/browse/ZOOKEEPER-2521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15506875#comment-15506875 ]
Edward Ribeiro commented on ZOOKEEPER-2521: ------------------------------------------- Oh, exception and the message come from standard java API: https://docs.oracle.com/javase/7/docs/api/java/security/KeyStore.html#load(java.io.InputStream,%20char[]) It cannot figured out if the keyStore is corrupted or the password is incorrect. Same for the odd {{IOException}}. I guess the rationale was because keyStore is a file so it cannot read the file for the reasons I alluded. Even so, odd. > space should be truncated while reading password for keystore/truststore > which is required to configure while SSL enabled > ------------------------------------------------------------------------------------------------------------------------- > > Key: ZOOKEEPER-2521 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2521 > Project: ZooKeeper > Issue Type: Bug > Components: server > Affects Versions: 3.5.1 > Reporter: Rakesh Kumar Singh > Assignee: Edward Ribeiro > Priority: Minor > Fix For: 3.5.3, 3.6.0 > > Attachments: ZOOKEEPER-2521.2.patch, ZOOKEEPER-2521.patch > > > space should be truncated while reading password for keystore/truststore > which is required to configure while SSL enabled. > As of now if we configure the password with any heading/trailing space, the > zookeeper server will fail to start. -- This message was sent by Atlassian JIRA (v6.3.4#6332)