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]


With regards,
Apache Git Services

Reply via email to