You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by John Ross <jo...@gmail.com> on 2021/11/09 14:51:28 UTC

camel http4 websphere

Hi,

How can we set camel http4 sslcontextparameters for the keystore that is
configured in the Websphere Application Server?

Thanks

Re: camel http4 websphere

Posted by Zoran Regvart <zo...@regvart.com>.
Hi John,

On Tue, Nov 9, 2021 at 7:52 PM John Ross <jo...@gmail.com> wrote:
> How can we set camel http4 sslcontextparameters for the keystore that is
> configured in the Websphere Application Server?

On WebSphere you need to use the com.ibm.websphere.ssl.JSSEHelper API
to get the SSLContext which you can supply to the HTTP component by
subclassing SSLContextParameters and overriding the createSSLContext
method to return that SSLContext instead of the one configured via
Camel JSSE support[1]. This custom implementation of
SSLContextParameters can be provided to the component via the
sslContextParameters option[2].

zoran

[1] https://camel.apache.org/manual/camel-configuration-utilities.html
[2] https://camel.apache.org/components/next/http-component.html#_component_option_sslContextParameters
-- 
Zoran Regvart