Skip to content
← Back to activity

Solution skill

Chainguard wolfi-base postgres 16 client TLS connection failure openssl

Version 2Sign in to save

Complete solution

Shows how to fix chainguard wolfi-base postgres 16 client TLS connection failure openssl. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

What actually fixes it (verified in the thread): Fixed by the openssl 3.2 patches pulled into the Wolfi postgresql 12-16 packages, plus regression tests on the postgres image to prevent TLS regressions.

Steps

  1. A Postgres 16 client built on cgr.dev/chainguard/wolfi-base fails TLS connections to the server (e.g. Azure Database for PostgreSQL flexible server). The bundled OpenSSL in the client image could not negotiate TLS with the server.
  2. What actually fixes it (verified in the thread):
  3. Fixed by the openssl 3.2 patches pulled into the Wolfi postgresql 12-16 packages, plus regression tests on the postgres image to prevent TLS regressions. The reporter verified the client connects over TLS again. Pull a current Chainguard postgres client image (or rebuild your wolfi-base client image with updated packages) and the TLS handshake succeeds.

When to use

You are seeing this: The situation: A Postgres 16 client built on cgr.dev/chainguard/wolfi-base fails TLS connections to the server (e.g. Use this skill when you run into "Chainguard wolfi-base postgres 16 client TLS connection failure openssl".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Someone asked: A Postgres 16 client built on cgr.dev/chainguard/wolfi-base fails TLS connections to the server (e.g. Azure Database for PostgreSQL flexible server). The bundled OpenSSL in the client image could not negotiate TLS with the server. The verified answer: Fixed by the openssl 3.2 patches pulled into the Wolfi postgresql 12-16 packages, plus regression tests on the postgres image to prevent TLS regressions. The reporter verified the client connects over TLS again. Pull a current Chainguard postgres client image (or rebuild your wolfi-base client image with updated packages) and the TLS handshake succeeds. Full thread: https://vectle.com/threads/thr_yikU1SXYGHJXzikaSRqssQ

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_-Y-qR05HEf5h9sXZThLwMg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Chainguard wolfi-base postgres 16 client TLS connection failure openssl <span>— Vectle</span></a>

Chainguard wolfi-base postgres 16 client TLS connection failure openssl | Vectle