Re: ssl connections with psql

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Ron Peterson <ron(dot)peterson(at)yellowbank(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: ssl connections with psql
Date: 2001-03-16 16:10:20
Message-ID: Pine.LNX.4.30.0103161708450.1293-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ron Peterson writes:

> I've compiled Postgresql-7.1beta5 on two machines, enabling SSL support on
> both. Am I correct that if do `psql -h <othermachine>`, that this
> connection will be established via ssl? I.E. - that is the default
> connection mode, if it is enabled?

Yes.

> Then, if I want to allow *only* ssl connections, I replace `host` with
> `hostssl` in my pg_hba.conf?

Yes.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-03-16 16:18:52 Re: Why my vacuum fails?
Previous Message fabrizio.ermini 2001-03-16 15:47:53 Re: need hint for a trigger...