Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wcMRi-003I1H-0D for pgsql-general@arkaria.postgresql.org; Wed, 24 Jun 2026 12:11:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wcMQh-000dv8-28 for pgsql-general@arkaria.postgresql.org; Wed, 24 Jun 2026 12:10:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wcMQh-000duz-0x for pgsql-general@lists.postgresql.org; Wed, 24 Jun 2026 12:10:07 +0000 Received: from mail-dl1-x1233.google.com ([2607:f8b0:4864:20::1233]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wcMQe-000000001N0-2Uv3 for pgsql-general@lists.postgresql.org; Wed, 24 Jun 2026 12:10:06 +0000 Received: by mail-dl1-x1233.google.com with SMTP id a92af1059eb24-1384ebe7a10so2088217c88.1 for ; Wed, 24 Jun 2026 05:10:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1782303002; cv=none; d=google.com; s=arc-20240605; b=fM6j2o5vKiiBm8vyJP2jyXOyj5CG+jMa4YPbr+RJp2YnMAK40+FJkH0TqizyxGOcKg yvbKw96SH4qz+ONWsaKSym598Rrmthr8diVvjxMVdnTu8KKjf0KAlNTMPSlthkNVfQU8 VcYr2rnA3Lh00F3iwXRcpkrpxwa6QjM87IQZ86ckfw1BR5dvAebr7UqrI0M/PwQ7OOWR 0VTe/ez5T7hwl4M61hJmsZiV/uHQNAilWZZ8zdmxAIP06LJfXNx8VCdr3FCVGXJyNQdS dTyD6Si75sXubbuNDaSh8rrC3z48OAqD1Rrscw/jHqBRzJMIjDbnNcivweOUd1ezHPYA R+eA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=fnVBr8ZBZMp7DrtusW5hgCXjYIn37ZQwXRMV7/2VTYQ=; fh=9fYW1w+C8R+Uz+xc39rcVIRjBn15pnXRkmIjxsCA9IU=; b=L3UfEgu4zDrfJ0eRaMXmJmnOBY/qAJxbriddTzr3sYcLxM5Jnh3B7Y6tZv0cV7Xn71 W5dCrGkXLM3Wyv6uux+Yc3zkyYsBhWSyZuMnJPqbm/wIKUPsr8GvalJoMiLnuT5IKZfi KZ7yWmCqBLvDHIXCXySxrb7075D9E7r/UjgpCbdOqSP5M6Q+JHfM1eeErrrvyOmQJBSu p0a/HzDK79VOQ5mmcDkK4eqvdW94ZteNLmiRpyhXJY2quJ6j7oBLsUYUBhByiPcHETOP OdbQls2KHSWnIvF85mIeizJMdRUYxyvsngTA6R3Vi9qcAnvqP8WPRt0EgsjRO6yu4WmH 3j0Q==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782303002; x=1782907802; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=fnVBr8ZBZMp7DrtusW5hgCXjYIn37ZQwXRMV7/2VTYQ=; b=TcKsss9dLluhS+p44TN2zrXh2NBPmE4bYGR11U59JSiPV8RFluf+34NosmX/etN4H/ Dz+pmIgIEj8g/vmfvOew5B+lKZ+eUj+2Ynsl6c1S4Zz1JIxM+D1P8Fkn/R3np6aezEz9 KO5LxCFzoXMxsxPfNfI5l8s3KJYq6rHgvy0g/6nxcZE5zxr50EU+316V7Jx2ge99MXEy pOymYczSAb1ex5hCowYVuQ1DyIrciAaPQyIVfz5lFjO3fUUbJ8tbQNer8FsCRvKpY5lR 1TFLqZGOxb9umGeH2duPCpuH7tnhJmqYH/60upTUY4JfIgiY5a70+EigBcF7iYgoSKA9 4Log== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782303002; x=1782907802; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fnVBr8ZBZMp7DrtusW5hgCXjYIn37ZQwXRMV7/2VTYQ=; b=juM1N9CSys/WsUbikXo4cVEcBjuJZXfsnPWq4nsX/xngYSIbVriG6ZxN70AJXlxz9k +H1PA95PrsX3Xm9Ij/FUHBnNKSlc33MewFHvUeJuiFpTAuiIkJs1hoYOL4YKJid4jcvU BwwpJxR4qwjDILCgHIAkA6xPDQ3k7Xc4UhFrRpmRU1uJpR+d0z2GiqrkVaZ+yhQxnyQ8 /JmMCJHvciR8QmgIwiAaCn4P/T766MLuCEdYm6GDqkdwwbwB762+NpQ3pl27uTx/oXzs 7d4xxgh9uktKBlpZ21OUl/V/Fdm/AB1n83D9ilBO5knDQzyvm46k0OaQt7lRfD5tjqkO sdCA== X-Gm-Message-State: AOJu0Yy/FXDT/mzqCjDAX+0Nch5E9dbm7NJP3Vh9cqSxXQIwFKNPsw1q Gats4IJjICaliisFiepbVVr264GcgmlDrm4T++iUTVzTCij3gkfQmnEdu7d4Nl9GvxwH7ds+vIP snVwGCZRx3Ic1uAm911Y0ch7sEssPwvRPqt4YJqD/RjMkgpeG41hrvxH+3sSjy6HaEIKN39nlNi 7m X-Gm-Gg: AfdE7cnAjZE0CMAbmguEWQtjP56ofpDWJTf3SCSMipRcvwkr3WffQG/exzBaxCN6SIU DAqpZSHmbzUyBjG12GFRCi2/hvB2Y0p2I5Q1AvRp8NalLnl1OYLkNJhZMc0XHwwLke4ZuPRL6+/ WlC3FjzRr3ABZz0QRf/RRwdx0liuLJbR/jzZysWj//wKyX3WWCd1oKDlgHNzNKBycP5KMq/vU2W cgzfaTSp1o0ntMgSPImPOmmbyJ0Pdk7IGHE/btBL3hir1C6Z8wL+rd/OKbY/rLewIMfkw1lDCll SHJ9/EYefw2MAyeQW0nTpw4YmTdVnUmmg0U2rCgLvEcbJ+CuerUn/YByA8LrCxRtnnw= X-Received: by 2002:a05:7022:324:b0:139:b63c:a0f2 with SMTP id a92af1059eb24-139c5e2c2ddmr5465592c88.33.1782303001707; Wed, 24 Jun 2026 05:10:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Joan Frey Date: Wed, 24 Jun 2026 14:09:48 +0200 X-Gm-Features: AVVi8CeUdNwxDu4LE9HVMNTBO930roWZLFGe7si9DAPgGPnX1LvHgjTe9jYvIKE Message-ID: Subject: Re: PostgreSQL server with SSL To: Matthias Apitz Cc: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000004c8c340654fec127" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000004c8c340654fec127 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =F0=9F=91=8D Joan Frey a r=C3=A9agi depuis Gmail Le mer. 24 juin 2026 =C3=A0 12:48, Matthias Apitz a =C3= =A9crit : > El d=C3=ADa martes, junio 23, 2026 a las 02:25:00 +0200, Joan Frey escrib= i=C3=B3: > > > I could only find this error message related to an error with the opens= sl > > version. > > This issue was apparently patched with pg15.6 ( > > https://www.postgresql.org/docs/release/15.6/) > > > > I suggest that you update to the latest minor version and retry. > > Thanks for your helping hand, Joan. > > I've setup in a podman container a 18.3 PostgreSQL cluster and with this > SSL works locally and via network. Details are below for documentation > purpose. > > Thanks again! > > matthias > > SSL version: > > c169ecb37a76:# /usr/local/sisis-pap/bin/openssl -v > OpenSSL 3.5.7 9 Jun 2026 (Library: OpenSSL 3.5.7 9 Jun 2026) > > > /data/postgresql183/data/postgresql.conf > > ssl =3D on > ssl_cert_file =3D '/home/postgres/ca/pg-server.crt' > ssl_key_file =3D '/home/postgres/ca/pg-passless-server.key' > ssl_ca_file =3D '/home/postgres/ca/demoCA/cacert.pem' > > /data/postgresql183/data/pg_hba.conf > > # IPv4 local connections: > hostssl all all 127.0.0.1/32 password > hostssl all all 10.0.2.100/32 password > > > podman container 'localhost': > > c169ecb37a76:# export PGHOST=3Dlocalhost > c169ecb37a76:# export PGPORT=3D5432 > c169ecb37a76:# /usr/local/sisis-pap/pgsql-18.3/bin/psql -U sisis > Password for user sisis: > psql (18.3) > SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, > compression: off, ALPN: postgresql) > Type "help" for help. > > sisis=3D# > > via network from my MacBook: > > $ export PGHOST=3Dsrap57dxr1.dev.xxxx.org > $ export PGPORT=3D61443 > $ psql -U sisis > Password for user sisis: > psql (14.15 (Homebrew), server 18.3) > WARNING: psql major version 14, server major version 18. > Some psql features might not work. > SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits: > 256, compression: off) > Type "help" for help. > > sisis=3D# > > The port 61443 sounds unusual, but has todo with the network connectos > exposed by the podman container. > > -- > Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ > +49-176-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub > --0000000000004c8c340654fec127 Content-Type: text/vnd.google.email-reaction+json; charset="UTF-8" Content-Transfer-Encoding: quoted-printable { "emoji": "=F0=9F=91=8D", "version": 1 } --0000000000004c8c340654fec127 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

=F0=9F=91=8D<= /p>

Joan Frey a r=C3=A9agi depu= is Gmail


El d=C3= =ADa martes, junio 23, 2026 a las 02:25:00 +0200, Joan Frey escribi=C3=B3:<= br>
> I could only find this error message related to an error with the open= ssl
> version.
> This issue was apparently patched with pg15.6 (
> https://www.postgresql.org/docs/release/15.6/)=
>
> I suggest that you update to the latest minor version and retry.

Thanks for your helping hand, Joan.

I've setup in a podman container a 18.3 PostgreSQL cluster and with thi= s
SSL works locally and via network. Details are below for documentation
purpose.

Thanks again!

=C2=A0 =C2=A0 =C2=A0 =C2=A0 matthias

SSL version:

c169ecb37a76:# /usr/local/sisis-pap/bin/openssl -v
OpenSSL 3.5.7 9 Jun 2026 (Library: OpenSSL 3.5.7 9 Jun 2026)


/data/postgresql183/data/postgresql.conf

ssl =3D on
ssl_cert_file =3D '/home/postgres/ca/pg-server.crt'
ssl_key_file =3D '/home/postgres/ca/pg-passless-server.key'
ssl_ca_file =3D '/home/postgres/ca/demoCA/cacert.pem'

/data/postgresql183/data/pg_hba.conf

# IPv4 local connections:
hostssl=C2=A0 =C2=A0 all=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0all= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0127.0.0.1/32=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0password
hostssl=C2=A0 =C2=A0 all=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0all= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A010.0.2.100/32=C2=A0 =C2=A0 = =C2=A0 =C2=A0 password


podman container 'localhost':

c169ecb37a76:# export PGHOST=3Dlocalhost
c169ecb37a76:# export PGPORT=3D5432
c169ecb37a76:# /usr/local/sisis-pap/pgsql-18.3/bin/psql -U sisis
Password for user sisis:
psql (18.3)
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, compress= ion: off, ALPN: postgresql)
Type "help" for help.

sisis=3D#

via network from my MacBook:

$ export PGHOST=3Dsrap57dxr1.dev.xxxx.org
$ export PGPORT=3D61443
$ psql -U sisis
Password for user sisis:
psql (14.15 (Homebrew), server 18.3)
WARNING: psql major version 14, server major version 18.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Some psql features might not work.
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, bits: 25= 6, compression: off)
Type "help" for help.

sisis=3D#

The port 61443 sounds unusual, but has todo with the network connectos
exposed by the podman container.

--
Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
--0000000000004c8c340654fec127--