Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h7HQ4-0006Zp-3P for pgsql-general@arkaria.postgresql.org; Fri, 22 Mar 2019 10:29:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h7HQ2-0008FD-RL for pgsql-general@arkaria.postgresql.org; Fri, 22 Mar 2019 10:28:58 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h7G3D-0003X9-Jf for pgsql-general@lists.postgresql.org; Fri, 22 Mar 2019 09:01:19 +0000 Received: from portal-smtp-out.hot.ee ([194.126.101.122]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h7G39-000809-Oa for pgsql-general@postgresql.org; Fri, 22 Mar 2019 09:01:18 +0000 Received: from localhost (localhost [127.0.0.1]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 0EE75B40 for ; Fri, 22 Mar 2019 11:01:12 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at vm-hot-relay10.estpak.ee Received: from portal-smtp-out.hot.ee ([127.0.0.1]) by localhost (vm-hot-relay10.estpak.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gp4-NpmDGV0t for ; Fri, 22 Mar 2019 11:01:09 +0200 (EET) Received: from mail.hot.ee (hot-relayhost1.estpak.ee [213.180.2.79]) by vm-hot-relay10.estpak.ee (Postfix) with ESMTP id 658EB941 for ; Fri, 22 Mar 2019 11:01:09 +0200 (EET) Received: from dell2 (66-63-196-88.sta.estpak.ee [88.196.63.66]) (Authenticated sender: kobruleht2) by HOT-Relayhost1.estpak.ee (Postfix) with ESMTPSA id 44Qd1K2FMPz14B for ; Fri, 22 Mar 2019 11:01:08 +0200 (EET) Message-ID: <08F9F2EFA2AC46249CEDA929B773BCB9@dell2> From: "Andrus" To: "pgsql-general" Subject: How to check is connection encrypted Date: Fri, 22 Mar 2019 11:00:49 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="windows-1257"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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? Andrus. Posted also in https://stackoverflow.com/questions/55296044/how-to-check-is-connection-encrypted