SV: SV: Problem with ssl and psql in Postgresql 13

Поиск
Список
Период
Сортировка
От Gustavsson Mikael
Тема SV: SV: Problem with ssl and psql in Postgresql 13
Дата
Msg-id a748b98ff0a94fe0a1ca54872ec5a25e@smhi.se
обсуждение исходный текст
Ответ на Re: SV: Problem with ssl and psql in Postgresql 13  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: SV: Problem with ssl and psql in Postgresql 13  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-general


Hi,

log_connections is on. The ERR message is correct, we do not have an entry for SSL off. 
The question is why psql(13) is trying to connect without ssl?

2020-12-17T14:25:09.565566+00:00 server INFO [30-1] pgpid=2422778 pguser=[unknown] pghost=nnn.nn.n.nnn pgdb=[unknown] pgapp=[unknown] LOG:  connection received: host=nnn.nn.n.nnn port=40112
2020-12-17T14:25:09.566411+00:00 server ERR [31-1] pgpid=2422778 pguser=kalle pghost=nnn.nn.n.nnn pgdb=postgres pgapp=[unknown] FATAL:  no pg_hba.conf entry for host "nnn.nn.n.nnn", user "kalle", database "postgres", SSL off

KR
Mikael Gustavsson, SMHI


Från: Tom Lane <tgl@sss.pgh.pa.us>
Skickat: den 17 december 2020 15:20:01
Till: Gustavsson Mikael
Kopia: Kyotaro Horiguchi; pgsql-general@postgresql.org; Svensson Peter
Ämne: Re: SV: Problem with ssl and psql in Postgresql 13
 
Gustavsson Mikael <mikael.gustavsson@smhi.se> writes:
> Clarification, its the same postgresql13 server. I just connect with different psql-clients.

Perhaps turning on log_connections on the server would offer some
insight.  It sort of looks like the v13 client is trying to connect
with SSL, failing for some unknown reason, and falling back to non-SSL
which also fails.

                        regards, tom lane


В списке pgsql-general по дате отправления:

Предыдущее
От: "Joel Jacobson"
Дата:
Сообщение: Raise exception without using plpgsql?
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: SV: Problem with ssl and psql in Postgresql 13