Re: How can I be confirm that data is encrypted over the network using SSL

From: John R Pierce <pierce(at)hogranch(dot)com>
To: AI Rumman <rummandba(at)gmail(dot)com>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: How can I be confirm that data is encrypted over the network using SSL
Date: 2010-05-05 05:12:14
Message-ID: 4BE0FE2E.40101@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

AI Rumman wrote:
> I have configured SSL connection between client/server using
> self-signed certificate.
> ...
> SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
> .....
> I set the $PGSSLMODE=require to encrypt data across the netwrok.
>
>
> How could I be sure that data is encrypted over the network?
>

use a packet sniiffer like wireshark or tcpdump to examine traffic to
the server hostip on whatever tcp port you're using... if its
plaintext, you would see your SQL commands and their responses coming
across the wire. if its SSL, it will all look like binary gibberish.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Amol Chiplunkar 2010-05-05 05:42:08 Table alias and inherited tables
Previous Message AI Rumman 2010-05-05 05:01:29 How can I be confirm that data is encrypted over the network using SSL