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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SV: SV: Problem with ssl and psql in Postgresql 13
Дата
Msg-id 89909.1608222331@sss.pgh.pa.us
обсуждение исходный текст
Ответ на SV: SV: Problem with ssl and psql in Postgresql 13  (Gustavsson Mikael <mikael.gustavsson@smhi.se>)
Ответы SV: SV: SV: Problem with ssl and psql in Postgresql 13
Список pgsql-general
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



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

Предыдущее
От: Gustavsson Mikael
Дата:
Сообщение: SV: SV: Problem with ssl and psql in Postgresql 13
Следующее
От: Gustavsson Mikael
Дата:
Сообщение: SV: SV: SV: Problem with ssl and psql in Postgresql 13