Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Changing some ssl attributes on the fly

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?

Thanks!

Jaap




Back to the top