Skip to content

[9.0] Remove TLSv1.1 from default protocols (#121731)#122159

Merged
elasticsearchmachine merged 1 commit intoelastic:9.0from
tvernum:backport/9.0/pr-121731
Feb 10, 2025
Merged

[9.0] Remove TLSv1.1 from default protocols (#121731)#122159
elasticsearchmachine merged 1 commit intoelastic:9.0from
tvernum:backport/9.0/pr-121731

Conversation

@tvernum
Copy link
Copy Markdown
Contributor

@tvernum tvernum commented Feb 10, 2025

Backports the following commits to 9.0:

This commit removes "TLSv1.1" from the list of default protocols in
Elasticsearch (starting with ES9.0)

TLSv1.1 has been deprecated by the IETF since March 2021

This affects a variety of TLS contexts, include
 - The HTTP Server (Rest API)
 - Transport protocol (including CCS and CCR)
 - Outgoing connections for features that have configurable SSL
   settings. This includes
    - reindex
    - watcher
    - security realms (SAML, OIDC, LDAP, etc)
    - monitoring exporters
    - inference services

In practice, however, TLSv1.1 has been disabled in most Elasticsearch
deployments since around 7.12 because most JDK releases have disabled
TLSv1.1 (by default) starting in April 2021

That is, if you run a default installation of Elasticsearch (for any
currently supported version of ES) that uses the bundled JVM then
TLSv1.1 is already disabled.
And, since ES9+ requires JDK21+, all supported JDKs ship with TLSv1.1
disabled by default.

In addition, incoming HTTP connections to Elastic Cloud deployments
have required TLSv1.2 or higher since April 2020

This change simply makes it clear that Elasticsearch does not
attempt to enable TLSv1.1 and administrators who wish to use that
protocol will need to explicitly enable it in both the JVM and in
Elasticsearch.

Resolves: elastic#108057
@tvernum tvernum added :Security/TLS SSL/TLS, Certificates >breaking auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Security Meta label for security team labels Feb 10, 2025
@elasticsearchmachine elasticsearchmachine merged commit cfcd1c6 into elastic:9.0 Feb 10, 2025
@tvernum tvernum deleted the backport/9.0/pr-121731 branch February 10, 2025 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >breaking :Security/TLS SSL/TLS, Certificates Team:Security Meta label for security team v9.0.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants