| From: | Michael Fuhr <mike(at)fuhr(dot)org> |
|---|---|
| To: | Steve Atkins <steve(at)blighty(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: SSL confirmation |
| Date: | 2004-12-05 19:41:35 |
| Message-ID: | 20041205194134.GA31951@winnie.fuhr.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-jdbc |
On Sun, Dec 05, 2004 at 12:27:33PM -0700, Michael Fuhr wrote:
> On the client side you could set the PGSSLMODE environment variable
> to "require" (or the older PGREQUIRESSL to "1"), which should tell
> libpq to attempt only SSL connections.
I forgot to mention that you could also use "sslmode=require" or
"requiressl=1" (deprecated in 7.4 and later) in your connect string
if you're using libpq directly or your interface to libpq allows it.
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rodrigo Carvalhaes | 2004-12-05 19:43:36 | Re: pg_restore taking 4 hours! |
| Previous Message | Tom Lane | 2004-12-05 19:36:40 | Re: Index bloat in 7.2 |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Hallgren | 2004-12-05 19:49:15 | Re: prepared statement call fails |
| Previous Message | Larry White | 2004-12-05 19:36:54 | Re: prepared statement call fails |