Hi Ryan,
you can set trust stores or implement your own X509TrustManager and
configure it using SSLContextParameters[2].

And I'm sure that you're aware how problematic undermining security
can be, so you might want to implement something like a white list so
that you can have some guarantee as to who are you communicating with,

zoran


[1] 
https://docs.oracle.com/javase/8/docs/api/javax/net/ssl/X509TrustManager.html
[2] https://camel.apache.org/camel-configuration-utilities.html

On Tue, Jul 18, 2017 at 1:45 AM, Ryan T <[email protected]> wrote:
> I'm trying to connect to devices that have https enabled but you connect to
> an ip address and no valid certificates.  How can I allow all certificates
> using http4 endpoint?
>
>
>
> Getting error:
> javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: No trusted certificate found
>
> Additional Info:
> Devices cannot communicate on http.  It has to be https.
> I have no control over the certificates for the devices.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/https4-tp5807254.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Zoran Regvart
  • https4 Ryan T
    • Re: https4 Zoran Regvart

Reply via email to