Re: Difference between host, hostssl and hostnossl connection type

Поиск
Список
Период
Сортировка
От Dhirendra Singh
Тема Re: Difference between host, hostssl and hostnossl connection type
Дата
Msg-id CAEyh4saHhivD-Cywn3dUVne31x6muU18dv3EjmaBwU7ubCsErA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Difference between host, hostssl and hostnossl connection type  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-admin
yes. The error message was clear.
but by reading the documentation it was not clear to me that it can't be used with host connection type.
Thanks for your time.

On Fri, Nov 25, 2022 at 1:14 PM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
On Fri, 2022-11-25 at 12:57 +0530, Dhirendra Singh wrote:
> But if i provide cert authentication in host type and provide certificates then it should work.no ?
> Otherwise the documentation is not clear about this limitation.

I think that the documentation (https://www.postgresql.org/docs/current/auth-cert.html)
is quite clear:

> This authentication method uses SSL client certificates to perform authentication.
> It is therefore only available for SSL connections.

True, it doesn't spell out that you will get an error if you use it with "host",
but the error message was clear enough, wasn't it?

Yours,
Laurenz Albe

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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Disable unique constraint in Postgres
Следующее
От: Dhirendra Singh
Дата:
Сообщение: Question about cert authentication method.