Hello Xavier!

Could you share the Code how you set the host name verifier into the
registry? You should do it as below:
https://svn.apache.org/repos/asf/camel/trunk/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpsGetTest.java

And of course, you can do it also with Spring. The bean id has to be used
as value for the 'x509HostnameVerifier' option....

Best,
Christian

On Mon, Jan 9, 2012 at 4:28 PM, xverges <xver...@gmail.com> wrote:

> I'm trying to use the x509HostnameVerifier option in an http4 uri
>
> from("jetty:https://0.0.0.0:4433/topython/?matchOnUriPrefix=true";)
> .to("https4://
> backend.fake.com:4444/?&bridgeEndpoint=true&throwExceptionOnFailure=false&x509HostnameVerifier=AllowAllHostnameVerifier
> ");
>
> but I'm getting an error
>
> No bean could be found in the registry for: AllowAllHostnameVerifier of
> type: org.apache.http.conn.ssl.X509HostnameVerifier
>
> Am I doing something wrong? I'm on version 2.9.0
>
> Thanks in advance.
> -Xavier
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Using-the-x509HostnameVerifier-option-in-http4-tp5131544p5131544.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to