knox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry McCay (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KNOX-733) Add support for custom truststore to Knox shell client
Date Wed, 07 Sep 2016 19:41:20 GMT

     [ https://issues.apache.org/jira/browse/KNOX-733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Larry McCay updated KNOX-733:
-----------------------------
    Attachment: KNOX-733-001.patch

Initial patch for adding truststore support to Hadoop client shell class. This patch adds
ENV variables with fallback to JSSE system properties finally falling back to cacerts.

> Add support for custom truststore to Knox shell client
> ------------------------------------------------------
>
>                 Key: KNOX-733
>                 URL: https://issues.apache.org/jira/browse/KNOX-733
>             Project: Apache Knox
>          Issue Type: Bug
>            Reporter: chris snow
>            Assignee: Larry McCay
>             Fix For: 0.10.0
>
>         Attachments: KNOX-733-001.patch
>
>
> The Knox shell client does not verify the certificate of the server.  
> One option would be to provide another method where developers can provide their own
client, e.g.
> public static Hadoop login( String url, String username, String password, HttpClient
client ) throws URISyntaxException { }
> https://github.com/apache/knox/blob/master/gateway-shell/src/main/java/org/apache/hadoop/gateway/shell/Hadoop.java#L60
> I can provide a patch if you are happy with this approach.



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

Mime
View raw message