Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7lhl-00062V-Um for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Jun 2015 14:31:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Z7lhk-0005g9-3k for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Jun 2015 14:31:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z7lDo-0002Rt-5D for pgsql-bugs@postgresql.org; Wed, 24 Jun 2015 14:00:12 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Z7lDf-00088n-D9 for pgsql-bugs@postgresql.org; Wed, 24 Jun 2015 14:00:10 +0000 MIME-Version: 1.0 Subject: BUG #13467: Latest Openssl library forces Postgres to Close Connections To: pgsql-bugs@postgresql.org From: bceccarelli@net32.com Date: Wed, 24 Jun 2015 13:59:58 +0000 Message-ID: <20150624135958.3874.60281@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.2 (-) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 13467 Logged by: Brian Ceccarelli Email address: bceccarelli@net32.com PostgreSQL version: 9.4.1 Operating system: Red Hat Enterprise Linux 7.1 Description: Red Hat as part of their normal updates, released a new version of openssl which breaks Postgres communication. When I load a dump, psql will fail in the middle of loading a 2 GB database. Openssl release 1.0.1e 52.el7_1.8 and release 1.0.1e 30.el7_6.11 force connections to have DH keys longer than 768 bytes. The older version (1 week old) Openssl release 1.0.1e 52.el7_1.6 and release 1.0.1e 30.el7_6.9 allow 512 byte DH keys. This version works. I am compiling Postgres from source using with-openssl. When OpenSSL is enabled, and even though I am not using a secure connection, I get an error message "SSL closed connection--can't negotiate." When I disable SSL in any fashion, Postgres still terminates the connection, but I do not see an error. The communication simply stops and the psql ends. Here is what Red Hat is up to: https://access.redhat.com/errata/RHSA-2015:1072 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs