Hi

I logged a ticket to get this support in Camel when we are Java 8+
https://issues.apache.org/jira/browse/CAMEL-9638

Not sure how you do this today, but you likely need to setup all this
a bit manually and hook into http4 as a SslContext or something.

On Mon, Feb 22, 2016 at 2:56 PM, Ioannis Mavroukakis
<imavrouka...@gmail.com> wrote:
>
> Hello everyone.
>
> I've been banging my head against a brick wall trying to figure out a way to
> configure SNI on the http4 component.
>
> According to
> https://docs.oracle.com/javase/8/docs/technotes/guides/security/jsse/JSSERefGuide.html#SNIExtension
> the way to do it is as follows (emphasis, mine)
>
>> SSLEngine sslEngine = sslContext.createSSLEngine("172.16.10.6", 443);
>> SNIHostName serverName = new SNIHostName("www.example.com");
>> List<SNIServerName>  serverNames = new ArrayList<>(1);
>> serverNames.add(serverName);
>> sslEngine.setSSLParameters(params);
>
>
> For the life of my however, I cannot figure out a way to do this, either via
> the DSL (preferable) or programmatically. With respects to the programmatic
> configuration, should I be using HttpClientConfigurer ?
>
> TIA,
>
> Ioannis
>



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

Reply via email to