Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Is there a way to get SSLHandshakeException on certificate error from Jetty client?


On Thu, Jun 6, 2019 at 9:46 PM Yuta Higuchi <yuta.higuchi@xxxxxxxxxxxxx> wrote:
> Little update, it seems like there is a race condition somewhere,
> causing inconsistencies in what Exception I get as failure on certificate error.
> When I run the small reproducer code I've posted earlier,
> This time running it repeatedly from IntelliJ,
> there are some cases it's getting SSLHandshakeException as failure,
> and some cases it gets EOFException.
> I've tried if setStrictEventOrdering(true) will changes the situation but
> looks like that does not impact this certificate failure case.
> Is there something else that can be configured to make this behavior a bit more consistent?

Please try to get DEBUG logs of the failing case.

Simone Bordet
Developer advice, training, services and support
from the Jetty & CometD experts.

Back to the top