Hi, On Mon, Feb 6, 2017 at 10:10 AM, Jaap de Jong <[email protected]> wrote: > Hi All, > > In an existing and running HttpClient(sslContextFactory), I want to update 2 > ssl attributes: > > sslContextFactory.setValidateCerts(false); > sslContextFactory.setTrustAll(true); > > And at another point in time I want to set that to the opposite. > > Is this a valid operation, or do I need to create a new HttpClient for every > sslContextFactory update?
You need to reload the SslContextFactory and change the attribute you want in the Consumer. See https://github.com/eclipse/jetty.project/issues/918. -- Simone Bordet ---- http://cometd.org http://webtide.com Developer advice, training, services and support from the Jetty & CometD experts. _______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
