pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Andrus <kobruleht2@hot.ee>
To: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: How to check is connection encrypted
Date: Fri, 22 Mar 2019 07:21:02 -0700
Message-ID: <6ade98e2-5857-944e-ae05-41a1fdba7cd3@aklaver.com> (raw)
In-Reply-To: <08F9F2EFA2AC46249CEDA929B773BCB9@dell2>
References: <08F9F2EFA2AC46249CEDA929B773BCB9@dell2>

On 3/22/19 2:00 AM, Andrus wrote:
> Hi!
> 
> 
> Old Postgres
> 
> "PostgreSQL 9.1.2 on x86_64-unknown-linux-gnu, compiled by gcc-4.4.real 
> (Debian 4.4.5-8) 4.4.5, 64-bit"
> 
> Server has symlinks server.crt and server.key in data directory 
> /var/lib/postgresql/9.1./main and ssl=true in postgresql.conf file.
> 
> Server is running in old Debian squueze.
> 
> Client accesses server from Windows 10 using psqlODBC driver with 
> sslmode=allow in connection string.
> 
> How to verify that connection is encrypted ? Is there some command in 
> client or server or can some protocol analyzer used if no easier way?

There is an extension:

https://www.postgresql.org/docs/9.1/sslinfo.html

> 
> Andrus.
> 
> Posted also in 
> https://stackoverflow.com/questions/55296044/how-to-check-is-connection-encrypted 
> 
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (5+ messages)  latest in thread

Message-ID: <6ade98e2-5857-944e-ae05-41a1fdba7cd3@aklaver.com>
Permalink:  ../6ade98e2-5857-944e-ae05-41a1fdba7cd3@aklaver.com/
Also on:    postgresql.org/message-id/6ade98e2-5857-944e-ae05-41a1fdba7cd3@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, kobruleht2@hot.ee
  Subject: Re: How to check is connection encrypted
  In-Reply-To: <6ade98e2-5857-944e-ae05-41a1fdba7cd3@aklaver.com>
  References: <08F9F2EFA2AC46249CEDA929B773BCB9@dell2> <6ade98e2-5857-944e-ae05-41a1fdba7cd3@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox