Skip to content

Bump vault-java-driver to 6.2.2 to fix TLS 1.3 regression#368

Merged
jetersen merged 1 commit into
masterfrom
fix/tls1.3-skip-ssl-verify
Jun 1, 2026
Merged

Bump vault-java-driver to 6.2.2 to fix TLS 1.3 regression#368
jetersen merged 1 commit into
masterfrom
fix/tls1.3-skip-ssl-verify

Conversation

@jetersen

@jetersen jetersen commented May 28, 2026

Copy link
Copy Markdown
Member

What

Bumps vault-java-driver from 6.2.0 to 6.2.2.

Why

vault-java-driver 6.x hard-coded SSLContext.getInstance("TLSv1.2") for its DISABLED_SSL_CONTEXT (Rest.java) and both SslConfig build paths, capping TLS negotiation at 1.2. This broke connections to Vault servers that require TLS 1.3 (protocol_version handshake failure), e.g. when skipSslVerification is enabled or a custom CA cert is loaded.

6.2.2 replaces these with getInstance("TLSv1.3"). A TLSv1.3 context still enables TLSv1.2, so it negotiates correctly with both TLS 1.2 and TLS 1.3 servers — the regression is fixed upstream, with no plugin-side workaround needed.

Fixes #361

vault-java-driver 6.x hard-coded SSLContext.getInstance("TLSv1.2") for
its DISABLED_SSL_CONTEXT and SslConfig build paths, capping TLS
negotiation at 1.2 and breaking connections to Vault servers that
require TLS 1.3.

6.2.2 replaces these with getInstance("TLSv1.3"). A TLSv1.3 context
still enables TLSv1.2, so it negotiates correctly with both TLS 1.2 and
TLS 1.3 servers, fixing the regression upstream without a plugin-side
workaround.

Fixes #361
@jetersen jetersen force-pushed the fix/tls1.3-skip-ssl-verify branch from 4b131f3 to 42816bd Compare June 1, 2026 11:33
@jetersen jetersen changed the title Fix TLS 1.3 regression when skipSslVerification is enabled Bump vault-java-driver to 6.2.2 to fix TLS 1.3 regression Jun 1, 2026
@jetersen jetersen merged commit 6a1aa16 into master Jun 1, 2026
16 checks passed
@jetersen jetersen deleted the fix/tls1.3-skip-ssl-verify branch June 1, 2026 11:53
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.

Regression: 379.v080d932e61e4 doesn't support TLS v1.3

1 participant