camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roman Vottner <>
Subject Re: http4 component with spring boot to configure ssl parameters
Date Mon, 23 Oct 2017 12:58:39 GMT
Hi Steve,

you basically have to define some SSLContextParameters and add them to your HttpComponent
as hopefully can be seen in the URL below

Note that this project is just a playground to test out things and may thus change frequently.
Don’t get distracted by the custom HttpComponent being created at the bottom, I currently
work on an AWS XRay support in Camel (similar to OpenTracing) and thus need the HttpClientBuilder
from AWS rather than the Apache Commons HttpClientBuilder.

A sample configuration of the SSLContextParameters which only defines a keystone (truststore
is analog to this) can be seen here:
As this configuration is used for Jetty actually, wich does not support TLSv1/1.1 since version
9.3 anymore due to a lack of secure ciphers, the majority of lines in this configuration are
used to add TLSv1/1.1 support, which will become obsolete hopefully once Camel 2.19.4 or 2.20.1
(?) will be released.


> Am 20.10.2017 um 18:52 schrieb Steve973 [via Camel] <>:
> Hello.  I'm trying to figure out how to set up the http4 component with ssl 
> information (keystore, truststore) with Spring Boot.  I would like to have 
> a @Configuration class that configures the "https4" component, but I cannot 
> find examples.  Do any of you know of an example that I could look at? 
> Thanks, 
> Steve 
> If you reply to this email, your message will be added to the discussion below:
> To unsubscribe from Camel - Users, click here <>.
> NAML <>

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message