You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by GitBox <gi...@apache.org> on 2020/02/24 19:53:33 UTC

[GitHub] [knox] moresandeep commented on issue #269: KNOX-2239 - Websocket use the configured truststore in gateway-site config file

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:
users@infra.apache.org


With regards,
Apache Git Services