Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JAX-RS requests that don't specify the port fail with SSL #15878

Closed
WhiteCat22 opened this issue Feb 10, 2021 · 0 comments
Closed

JAX-RS requests that don't specify the port fail with SSL #15878

WhiteCat22 opened this issue Feb 10, 2021 · 0 comments
Assignees
Labels
bug This bug is not present in a released version of Open Liberty in:JAX-RS release bug This bug is present in a released version of Open Liberty release:21003 team:Wendigo West

Comments

@WhiteCat22
Copy link
Member

related to #14934

URI uri = URI.create((String) message.get(Message.REQUEST_URI));

The above code in JaxRsSSLManger.getSocketFactory() returns port -1 when the port is not specified by the user. This causes SSLHandshakes to fail.

We need to check if the user actually specified port -1 for some reason, or if we should use the default port 443 instead.

@WhiteCat22 WhiteCat22 added bug This bug is not present in a released version of Open Liberty in:JAX-RS team:Wendigo West release bug This bug is present in a released version of Open Liberty labels Feb 10, 2021
@WhiteCat22 WhiteCat22 self-assigned this Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This bug is not present in a released version of Open Liberty in:JAX-RS release bug This bug is present in a released version of Open Liberty release:21003 team:Wendigo West
Projects
None yet
Development

No branches or pull requests

2 participants