Re: mutually-authenticated SSL with websockets

2016-12-16 Thread Avnish Pundir
I recently did something very similar (not with websocket, instead with netty4-http though). However looking at websocket docs, its very much similar. You'll have to use sslContextParameters endpoint option to specify the contextparameter. In my case I created it as a (spring) bean and provided

Re: mutually-authenticated SSL with websockets

2016-12-13 Thread Zoran Regvart
Hi Mark, there is the `clientAuthentication` parameter in `serverParameters` of `SSLContextParameters` that you can set to `REQUIRE`. I wager adding SSLContextParameters instance to registry and referencing in the component/endpoint configuration should do the trick. zoran [1]http://camel.apache.

mutually-authenticated SSL with websockets

2016-12-13 Thread Mark
I have a requirement for mutually-authenticated SSL with a websocket. Does the Camel-Websocket component support this functionality? According to the camel websocket page, the SSL params are for consumers only which makes me think that 2-way SSL isn't supported. Cheers, Mark