Made with by giki

tls_configuration_history

TLS Configuration History

OkHttp tracks the dynamic TLS ecosystem to balance connectivity and security. This page is a log of changes we’ve made over time to OkHttp’s default TLS options.

OkHttp 3.14

2019-03-14

Remove 2 TLSv1.3 cipher suites that are neither available on OkHttp’s host platforms nor enabled in releases of Chrome and Firefox.

RESTRICTED_TLS cipher suites
MODERN_TLS / COMPATIBLE_TLS cipher suites

OkHttp 3.13

2019-02-04

Remove TLSv1.1 and TLSv1 from MODERN_TLS. Change COMPATIBLE_TLS to support all TLS versions.

RESTRICTED_TLS versions
MODERN_TLS versions
COMPATIBLE_TLS versions

OkHttp 3.12

2018-11-16

Added support for TLSv1.3.

RESTRICTED_TLS cipher suites
MODERN_TLS / COMPATIBLE_TLS cipher suites
RESTRICTED_TLS versions
MODERN_TLS versions
COMPATIBLE_TLS versions

OkHttp 3.11

2018-07-12

Added a new extra strict RESTRICTED_TLS configuration inspired by Google Cloud’s similar policy. It is appropriate when both the host platform (JVM/Conscrypt/Android) and target webserver are current.

RESTRICTED_TLS cipher suites
RESTRICTED_TLS versions

OkHttp 3.10

2018-02-24

Remove two rarely-used cipher suites from the default set. This tracks a Chromium change to remove these cipher suites because they are fragile and rarely-used.

MODERN_TLS / COMPATIBLE_TLS cipher suites

OkHttp 3.5

2016-11-30

Remove three old cipher suites and add five new ones. This tracks changes in what’s available on Android and Java, and also what cipher suites recent releases of Chrome and Firefox support by default.

MODERN_TLS / COMPATIBLE_TLS cipher suites

OkHttp 3.0

2016-01-13

MODERN_TLS / COMPATIBLE_TLS cipher suites
MODERN_TLS versions
COMPATIBLE_TLS versions

¹ TLSv1.3 Only

Cipher suites that are only available with TLSv1.3.

² HTTP/2 Cipher Suite Denylist

Cipher suites that are discouraged for use with HTTP/2. OkHttp includes them because better suites are not commonly available. For example, none of the better cipher suites listed above shipped with Android 4.4 or Java 7.