Hi

Camel 2 is EOL and not actively supported.

You very likely need to dive into this yourself and try to find a solution.

If you have a chance to try latest Camel v3 and see if it works there or
not, and report back, then there is a chance you can get help and
we can make it work on latest Camel v3 and you can then try to apply that
solution to your Camel v2 yourself.


On Mon, Sep 5, 2022 at 5:24 PM Somvanshi, Ashitosh <
ashitosh.somvan...@dieboldnixdorf.com> wrote:

> Hello Support team,
>
> We are using camel netty http component in order to connect to REST API.
> Artifact : camel-netty-http version : 2.18.3
> App server:  Web sphere
>
> We are not able to send SNI/server name to server in client hello, which
> is required in our case so that server can send back appropriate
> certificates.
> We have tried to set SNI like below but it's not working:
> SSLContextClientParameters sslClient = new SSLContextClientParameters();
> sslClient.setSniHostName(sniName);
>
> SSLContextParameters scp = new SSLContextParameters();
> scp.setClientParameters(sslClient);
>
> NettyComponent nettyComponent =
> camelContext().getComponent("netty-http",NettyComponent.class);
> nettyComponent.getConfiguration().setSslContextParameters(scp);
>
> We can see below warnings in systemOut.log file related to server name:
> [9/1/22 10:19:12:811 AST] 0000010d SystemOut     O
> javax.net.ssl|WARNING|01
> 0D|ActorSystem-JsonHostSP-akka.actor.default-dispatcher-2|2022-09-01
> 10:19:12.810 AST|Thread.java:1564|Unable to indicate server name
> [9/1/22 10:19:12:813 AST] 0000010d SystemOut     O javax.net.ssl|FINE|01
> 0D|ActorSystem-JsonHostSP-akka.actor.default-dispatcher-2|2022-09-01
> 10:19:12.812 AST|Thread.java:1564|Ignore, context unavailable extension:
> server_name
>
> Could you please support on this issue?
>
> Thanks and Regards,
> Ashitosh Somvanshi | PS CoE
> Diebold Nixdorf
> www.DieboldNixdorf.com<http://www.dieboldnixdorf.com/>
>
>

-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to