Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Accept SSL certificates and follow redirects automatically

Dear all,

I am using Jetty HttpClient to crawl certain webpages and need to tell it to accept any SSL certificates and follow redirects (like the 302 status, for example):

(i) How can I configure the Jetty client to be as non-restrictive as possible with respect to SSL certificates, i.e., accept all of them?

(ii) How can I tell it to follow redirects (as long as they do not loop)? I read from that this has already been implemented.

I am using Jetty 7.2.2 HttpClient from within Camel.

Many thanks for any pointers,

Back to the top