Skip to content

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