pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gustavsson Mikael <mikael.gustavsson@smhi.se>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Cc: Svensson Peter <peter.svensson@smhi.se>
Subject: Re: SV: SV: Problem with ssl and psql in Postgresql 13
Date: Thu, 17 Dec 2020 11:25:31 -0500
Message-ID: <89909.1608222331@sss.pgh.pa.us> (raw)
In-Reply-To: <698125e1105644adaa27578bb37b18f6@smhi.se>
References: <e5b0b6ed05764324a2f3fe7acfc766d5@smhi.se>
<20201217.172938.170511532557914014.horikyota.ntt@gmail.com>
<06191eae74d045e192a786a84a73ba53@smhi.se>
<65644.1608214801@sss.pgh.pa.us>
<a748b98ff0a94fe0a1ca54872ec5a25e@smhi.se>
<CABUevEz0tuQzXYmgDGDsbhs+8V-WOp2cSpM1S70S5L+gSDRGUg@mail.gmail.com>
<a9e6ef756df24fba948b5c09b1f30229@smhi.se>
<CABUevEz_eHh=R6C_C7GChF8w_aG4pMPDAvjJFa92cspAb3SSkg@mail.gmail.com>
<698125e1105644adaa27578bb37b18f6@smhi.se>
Gustavsson Mikael <mikael.gustavsson@smhi.se> writes:
> $ /usr/pgsql-13/bin/psql "dbname=postgres user=kalle host=server sslmode=require"
> psql: error: FATAL: no pg_hba.conf entry for host "nn.nnn.n.nnn", user "kalle", database "postgres", SSL off
> FATAL: no pg_hba.conf entry for host "nn.nnn.n.nnn", user "kalle", database "postgres", SSL off
It'd be useful to verify that that version of psql+libpq is actually
built with ssl support. Try
ldd /usr/pgsql-13/bin/psql
and then repeat "ldd" on whichever libpq.so is mentioned in the output.
regards, tom lane
view thread (4+ messages)
Message-ID: <89909.1608222331@sss.pgh.pa.us> Permalink: ../89909.1608222331@sss.pgh.pa.us/ Also on: postgresql.org/message-id/89909.1608222331@sss.pgh.pa.us ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients using the --to and --cc options: reply via email To: pgsql-general@postgresql.org Cc: tgl@sss.pgh.pa.us, mikael.gustavsson@smhi.se, magnus@hagander.net, horikyota.ntt@gmail.com, peter.svensson@smhi.se Subject: Re: SV: SV: Problem with ssl and psql in Postgresql 13 In-Reply-To: <89909.1608222331@sss.pgh.pa.us> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox