[ 
https://issues.apache.org/jira/browse/KNOX-2239?focusedWorklogId=392037&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-392037
 ]

ASF GitHub Bot logged work on KNOX-2239:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Feb/20 19:53
            Start Date: 24/Feb/20 19:53
    Worklog Time Spent: 10m 
      Work Description: moresandeep commented on issue #269: KNOX-2239 - 
Websocket use the configured truststore in gateway-site config file
URL: https://github.com/apache/knox/pull/269#issuecomment-590518340
 
 
   > So we have to get and set the truststore on every single connection? We 
can't setup the HTTP client or websocket client once and reuse it? Seems a bit 
weird to me.
   
   The issue is the `javax.net` api does not support adding custom truststore 
as a result jetty does not support it either. New instance of 
WebSocketContainer is created on every connection (along with the underlying 
httpclient) this is the only entry point i could find where we could update 
truststore. 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 392037)
    Time Spent: 1h  (was: 50m)

> Websocket not picking up configured truststore
> ----------------------------------------------
>
>                 Key: KNOX-2239
>                 URL: https://issues.apache.org/jira/browse/KNOX-2239
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>            Reporter: Sandeep More
>            Assignee: Sandeep More
>            Priority: Major
>              Labels: Websocket
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> When Knox tries to connect to a secure websocket backend it does not use the 
> truststore/keystore configured in gateway-site.xml instead it falls back on 
> system JDK truststore. 



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

Reply via email to