[
https://issues.apache.org/jira/browse/HADOOP-14352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Zhuge updated HADOOP-14352:
--------------------------------
Attachment: HADOOP-14352.002.patch
Patch 002
* Rename {{getPasswordString}} and make it return null when password not found
* Add null check for keystore location and password in
{{loadSSLConfiguration}}. This fixes a bug in patch 001 where null keystore
location is not detected.
[~rkanter] I made some changes in patch 002. Could you please take a look?
> Make some HttpServer2 SSL properties optional
> ---------------------------------------------
>
> Key: HADOOP-14352
> URL: https://issues.apache.org/jira/browse/HADOOP-14352
> Project: Hadoop Common
> Issue Type: Improvement
> Components: kms
> Affects Versions: 3.0.0-alpha2
> Reporter: John Zhuge
> Assignee: John Zhuge
> Priority: Minor
> Attachments: HADOOP-14352.001.patch, HADOOP-14352.002.patch
>
>
> {{HttpServer2#loadSSLConfiguration}} loads 5 SSL properties but only keystore
> location and password are required, the rest of them, keystore keypassword,
> truststore location, and truststore password, can be optional.
> According to
> http://www.eclipse.org/jetty/documentation/current/configuring-ssl.html:
> * If there is no keymanagerpassword, then the keystorepassword is used
> instead.
> * Trust store is typically set to the same path as the keystore.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]