Hello Team,

Can we expect any support here or at least an acknowledgement?


Thanks and Regards,
Ashitosh Somvanshi | PS CoE
Diebold Nixdorf
www.DieboldNixdorf.com<http://www.dieboldnixdorf.com/>

From: Somvanshi, Ashitosh
Sent: Monday, September 5, 2022 8:52 PM
To: users@camel.apache.org
Cc: Bheda, Nitesh <nitesh.bh...@dieboldnixdorf.com>
Subject: netty http component - SNI missing in SSL handshake

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

Reply via email to