Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-733

Add support for custom truststore to Knox shell client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • None
    • None

    Description

      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.

      Attachments

        1. KNOX-733-001.patch
          9 kB
          Larry McCay

        Issue Links

          Activity

            People

              lmccay Larry McCay
              snowch chris snow
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: