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 1wcL9y-003H6G-07 for pgsql-general@arkaria.postgresql.org; Wed, 24 Jun 2026 10:48:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wcL9w-000N0K-2T for pgsql-general@arkaria.postgresql.org; Wed, 24 Jun 2026 10:48:44 +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 1wcL9w-000N0B-1I for pgsql-general@lists.postgresql.org; Wed, 24 Jun 2026 10:48:44 +0000 Received: from ms-10.1blu.de ([178.254.4.101]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wcL9t-000000000nk-4AFu for pgsql-general@lists.postgresql.org; Wed, 24 Jun 2026 10:48:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=unixarea.de ; s=blu3434000; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender: Content-ID:Content-Description; bh=PgRiGYUI+oDj/RNat+VA2ffJLE8/5UEk5zIR3thoNEo=; b=e3ZZNr8zxPTGk5z8rew3tiXfOK 3IvdVGI/SCfW+yV+OPgBEHvVoTExud55ylHGwvEGsh3rp0dVjR+agNbkpw6gocRVBdfRiFppliykX y3irbRMSABMCSVr3flOGt3T0j7iZeJ6/VEAO31rGrA6F+q1JGjuFUyJIq4PkMTwRGfwOFitRn5iVI S9+nQEi/nnHv9gab5xryKffykLel0AvEMTHPmfNSLXXHmIdKRX4Qc2ZAXx+Z3ZuEqsYgEoMiX1UuJ rGx7QrmYahDCwa1khmOaB0Ai3fRlWE7gP3FRVuyXqdaX4XXU1dU6cz1wzPcKCB3qF11DOMX1boI/N A/z2fWrw==; Received: from [212.222.85.178] (helo=pureos) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1wcL9s-00GBtW-Nn; Wed, 24 Jun 2026 12:48:40 +0200 Date: Wed, 24 Jun 2026 12:48:38 +0200 From: Matthias Apitz To: Joan Frey Cc: pgsql-general@lists.postgresql.org Subject: Re: PostgreSQL server with SSL Message-ID: Reply-To: Matthias Apitz References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 14.0-CURRENT 1400094 (amd64) X-message-flag: Mails in HTML will not be read! Send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 212.222.85.178 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk El día martes, junio 23, 2026 a las 02:25:00 +0200, Joan Frey escribió: > I could only find this error message related to an error with the openssl > 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 = on ssl_cert_file = '/home/postgres/ca/pg-server.crt' ssl_key_file = '/home/postgres/ca/pg-passless-server.key' ssl_ca_file = '/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=localhost c169ecb37a76:# export PGPORT=5432 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=# via network from my MacBook: $ export PGHOST=srap57dxr1.dev.xxxx.org $ export PGPORT=61443 $ 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=# The port 61443 sounds unusual, but has todo with the network connectos exposed by the podman container. -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub