Skip to content

WebSocketClient.upgradeSocketToSSL is enforcing TLS 1.2 #1382

@pavel-treutner

Description

@pavel-treutner

Describe the bug
Is there any reason for enforcing TLS 1.2 in WebSocketClient.upgradeSocketToSSL()? Replacing SSLContext.getInstance("TLSv1.2") with SSLSocketFactory.getDefault() would honor the well-known property jdk.tls.client.protocols allowing unified configuration.

Environment(please complete the following information):

  • Version used: 1.5.5

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions