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

Hudson commented on HADOOP-16727:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #17824 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/17824/])
HADOOP-16727. KMS Jetty server does not startup if trust store password 
(hanishakoneru: rev a7fccc1122364f97c0bda86cda46978aedb66272)
* (edit) 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestSSLHttpServer.java
* (edit) 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/ssl/TestSSLFactory.java
* (add) 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/http/TestSSLHttpServerConfigs.java
* (edit) 
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/ssl/KeyStoreTestUtil.java
* (edit) 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/http/HttpServer2.java


> KMS Jetty server does not startup if trust store password is null
> -----------------------------------------------------------------
>
>                 Key: HADOOP-16727
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16727
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: common
>            Reporter: Hanisha Koneru
>            Assignee: Hanisha Koneru
>            Priority: Major
>         Attachments: HADOOP-16727.003.patch, HDFS-14951.001.patch, 
> HDFS-14951.002.patch
>
>
> In HttpServe2, if the trustStore is set but the trust store password is not, 
> then we set the TrustStorePassword of SSLContextFactory to null. This results 
> in the Jetty server not starting up.
> {code:java}
> In HttpServer2#createHttpsChannelConnector(),
> if (trustStore != null) {
>   sslContextFactory.setTrustStorePath(trustStore);
>   sslContextFactory.setTrustStoreType(trustStoreType);
>   sslContextFactory.setTrustStorePassword(trustStorePassword);
> }
> {code}
> Before setting the trust store password, we should check that it is not null.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to