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

Retrieve default SSL socket factory #1387

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

pavel-treutner
Copy link

@pavel-treutner pavel-treutner commented Jan 16, 2024

Without further configuration TLS v1.2 is enforced when connecting to a server. Thus a connection to a server supporting TLS 1.3 only is refused. Recent JREs use TLS v1.2 and TLS v1.3 as the default value, which can be further adjusted via jdk.tls.client.protocols property.

Related Issue

Fixes #1382

Motivation and Context

Allows to configure TLS versions via a global property: jdk.tls.client.protocols

Checklist:

  • 12 of 721 tests failed. No idea what the cause is. The number is however the same for both master and my branch.

@marci4 marci4 added this to the Release 1.5.6 milestone Jan 30, 2024
@marci4 marci4 added the Client label Jan 30, 2024
@marci4 marci4 merged commit de7b8b2 into TooTallNate:master Jan 30, 2024
@marci4 marci4 added the Bug label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WebSocketClient.upgradeSocketToSSL is enforcing TLS 1.2
2 participants