You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Marek Jagielski <ma...@gmail.com> on 2013/11/08 10:47:03 UTC

WsWebsocketContainer - SSLContext with custom TrastManager

Hi,
Is it possible somehow to insert custom trustmanagers into SSLContext. I
see that in the code of WsWebsocketContainer in  private SSLEngine
createSSLEngine(Map<String,Object> userProperties)
thet now it depends of default implementation.
Is the only way is to change default algorithm of the TrustManagerFactory ?

Marek

Re: WsWebsocketContainer - SSLContext with custom TrastManager

Posted by Mark Thomas <ma...@apache.org>.
On 08/11/2013 09:47, Marek Jagielski wrote:
> Hi,
> Is it possible somehow to insert custom trustmanagers into SSLContext. I
> see that in the code of WsWebsocketContainer in  private SSLEngine
> createSSLEngine(Map<String,Object> userProperties)
> thet now it depends of default implementation.
> Is the only way is to change default algorithm of the TrustManagerFactory ?

You'd need to patch Tomcat to make that configurable. As always, patches
welcome.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org