Skip to content

[🐛 Bug]: SSLHandshakeException for JDK Http Client #12869

@titusfortner

Description

@titusfortner

What happened?

I'm not sure if this is an issue with how the test is written or a limitation of the http client. @pujagani I'm assuming if it's a test issue it's an easy-ish fix. If it's client related, can you please update this with the correct details? Thanks.

javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target.

How can we reproduce the issue?

Run this test with jdk-http-client set as the default HTTP client

https://github.com/SeleniumHQ/selenium/blob/selenium-4.13.0/java/test/org/openqa/selenium/grid/router/ProxyWebsocketTest.java#L142

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-javaJava BindingsI-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions