You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Knut Enners <kn...@gmail.com> on 2011/04/14 09:18:09 UTC
camel-http: https[4] delivers garbage
Hello,
part of my integration service is a route that should deliver xml-files
via https (post) to the system of the supplier. I'd like to use
camel-http or camel-http4 for that.
The problem: the supplier only receives garbage. (The same file sent
with curl arrives fine)
I narrowed down the issue to a small blueprint only featuring the part
in question. I just push an example xml in the in-folder and this should
be forwarded...
Unfortunately, I cannot simulate the supplier system as my test-jetty
endpoint has only a self-signed certificate and I cannot find the option
to let camel-http[4] accept this unsigned cert.
In the log I am missing any ssl-handshake information, is this a hint?
Do I need to set some more options, or can s.o. tell me how to let camel
accept unsigned certs?
thanks, Knut
Re: camel-http: https[4] delivers garbage
Posted by Jon Anstey <ja...@gmail.com>.
Knut,
You probably just have to configure your producer endpoint with the proper
SSL options (like the key/trust store). See
http://camel.apache.org/http4.html#HTTP4-SettingupSSLforHTTPClient for more
info.
Cheers,
Jon
On Thu, Apr 14, 2011 at 4:48 AM, Knut Enners <kn...@gmail.com> wrote:
> Hello,
>
> part of my integration service is a route that should deliver xml-files
> via https (post) to the system of the supplier. I'd like to use
> camel-http or camel-http4 for that.
> The problem: the supplier only receives garbage. (The same file sent
> with curl arrives fine)
>
> I narrowed down the issue to a small blueprint only featuring the part
> in question. I just push an example xml in the in-folder and this should
> be forwarded...
>
> Unfortunately, I cannot simulate the supplier system as my test-jetty
> endpoint has only a self-signed certificate and I cannot find the option
> to let camel-http[4] accept this unsigned cert.
> In the log I am missing any ssl-handshake information, is this a hint?
>
> Do I need to set some more options, or can s.o. tell me how to let camel
> accept unsigned certs?
>
> thanks, Knut
>
--
Cheers,
Jon
---------------
FuseSource
Email: jon@fusesource.com
Web: fusesource.com
Twitter: jon_anstey
Blog: http://janstey.blogspot.com
Author of Camel in Action: http://manning.com/ibsen