Menu

1 / 2

When Enforcing TLS 1.3 Broke Our CI Builds

DEV Community: java·seshikanthguduri·about 5 hours ago
#jaLOryeG
#devtojava#devto#dev#protocol#client
Long article (1220 words) — no AI summary yet.
Reading 0:00
15s threshold

Originally published on Medium: https://medium.com/@seshikanthguduri/when-enforcing-tls-1-3-broke-our-ci-builds-d0b026e699eb

The registry got more secure. The builds got red. Both were telling the truth.

TLS 1.3 negotiation: the CI runner asks, the registry answers, and only a shared protocol version opens the tunnel.

Security work has a cruel property: the correct change can still take the pipeline down. We enforced TLS 1.3 on the remote artifact registry that our CI system publishes to. The change was right. It was also the start of a wave of failed Java builds, broken Maven and Gradle publishes, and curl uploads that suddenly could not complete a handshake. Nothing about the failure looked like a TLS version problem at first, which is why it is worth writing down in full.

The change that looked safe

The registry endpoint was tightened to require TLS 1.3. Older protocol versions were dropped on purpose: TLS 1.3 removes legacy cipher suites, shortens the handshake, and encrypts more of the negotiation.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.