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?

Hi,
DEBUG log was quite lengthy so I've pasted it as gist along with the test code:
  https://gist.github.com/YutaHiguchi-bsn/dd33be6d6ed6dc3932eb9b6800535f2e
I hope it helps.



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

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,
https://gist.github.com/YutaHiguchi-bsn/c76dfd60ac4c2c711fcaddbf6b267f3b
>
> 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
----
http://cometd.org
http://webtide.com
Developer advice, training, services and support
from the Jetty & CometD experts.
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jetty-users

Back to the top