Hi Ashitosh,
also make sure that you're using latest Java version, for example if
you're using Java 1.8 you might be running into this issue:

https://bugs.openjdk.org/browse/JDK-8144566

zoran

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/>
>


-- 
Zoran Regvart

Reply via email to