Re: SSL confirmation

From: Steve Atkins <steve(at)blighty(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: SSL confirmation
Date: 2004-12-05 19:02:33
Message-ID: 20041205190233.GA31145@gp.word-to-the-wise.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

On Sun, Dec 05, 2004 at 11:27:57AM -0700, Michael Fuhr wrote:

> Right -- see the "Frontend/Backend Protocol" chapter in the
> documentation, in particular the "SSL Session Encryption" section:
>
> http://www.postgresql.org/docs/7.4/static/protocol-flow.html#AEN52782
>
> You can use psql to check if SSL is working. Psql prints a message
> like the following if SSL was successfully negotiated:
>
> SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)

I tend to fire up ethereal and look at the data stream to make absolutely
sure that my app is doing SSL to postgresql. I've been burnt once or
twice by the libpq my app uses not negotiating SSL correctly while
the version of libpq that psql uses being just fine (dumb build problems
on my part, but I'd probably have missed them without the sanity check
of sniffing the connection).

Cheers,
Steve

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2004-12-05 19:27:33 Re: SSL confirmation
Previous Message Michael Fuhr 2004-12-05 18:57:20 Re: SSL confirmation

Browse pgsql-jdbc by date

  From Date Subject
Next Message Thomas Hallgren 2004-12-05 19:08:54 Re: prepared statement call fails
Previous Message Michael Fuhr 2004-12-05 18:57:20 Re: SSL confirmation