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?

DEBUG log was quite lengthy so I've pasted it as gist along with the test code:
I hope it helps.

On Wed, Jun 12, 2019 at 8:55 AM Simone Bordet <sbordet@xxxxxxxxxxx> wrote:

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.
jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top