Re: Difference between host, hostssl and hostnossl connection type - Mailing list pgsql-admin

From Laurenz Albe
Subject Re: Difference between host, hostssl and hostnossl connection type
Date
Msg-id 5abfcab077173acd048432352bc1c6fa91b61332.camel@cybertec.at
Whole thread Raw
In response to Re: Difference between host, hostssl and hostnossl connection type  (Dhirendra Singh <dhirendraks@gmail.com>)
Responses Re: Difference between host, hostssl and hostnossl connection type
List pgsql-admin
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 by date:

Previous
From: Dhirendra Singh
Date:
Subject: Re: Difference between host, hostssl and hostnossl connection type
Next
From: Laurenz Albe
Date:
Subject: Re: Disable unique constraint in Postgres