Re: Difference between host, hostssl and hostnossl connection type

From: Dhirendra Singh <dhirendraks(at)gmail(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Difference between host, hostssl and hostnossl connection type
Date: 2022-11-25 08:50:13
Message-ID: CAEyh4saHhivD-Cywn3dUVne31x6muU18dv3EjmaBwU7ubCsErA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(dot)albe(at)cybertec(dot)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
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Dhirendra Singh 2022-11-25 10:06:00 Question about cert authentication method.
Previous Message Laurenz Albe 2022-11-25 07:46:22 Re: Disable unique constraint in Postgres