Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g1qGI-0004JP-UW for pgsql-jdbc@arkaria.postgresql.org; Mon, 17 Sep 2018 09:56:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g1qGG-0004QP-TW for pgsql-jdbc@arkaria.postgresql.org; Mon, 17 Sep 2018 09:56: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.89) (envelope-from ) id 1g1qGG-0004QI-ND for pgsql-jdbc@lists.postgresql.org; Mon, 17 Sep 2018 09:56:08 +0000 Received: from smtp.procolix.com ([95.215.185.30]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g1qGC-0003fe-Vn for pgsql-jdbc@lists.postgresql.org; Mon, 17 Sep 2018 09:56:08 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.procolix.com (Postfix) with ESMTP id DC01243C71 for ; Mon, 17 Sep 2018 11:56:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at smtp.procolix.com Received: from smtp.procolix.com ([127.0.0.1]) by localhost (host436.procolix.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sniatH383W5V for ; Mon, 17 Sep 2018 11:56:03 +0200 (CEST) Received: from webmail.procolix.com (webmail.procolix.com [95.215.185.205]) (Authenticated sender: mark@lawinegevaar.nl) by smtp.procolix.com (Postfix) with ESMTPA id B79D743C3D for ; Mon, 17 Sep 2018 11:56:03 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 17 Sep 2018 11:56:03 +0200 From: Mark Rotteveel To: pgsql-jdbc@lists.postgresql.org Subject: Re: ssl connection issues In-Reply-To: <491225265.1372.1537176204835@www> References: <652759681.5047.1536841425886@www> <491225265.1372.1537176204835@www> Message-ID: X-Sender: mark@lawinegevaar.nl User-Agent: Roundcube Webmail/1.2.7 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-09-17 11:23, Gabriele Bulfon wrote: > That may be a possibility, but given that I cannot upgrade at the > moment, how can I check this and maybe change the required cipher to > match? Debugging SSL problems is not really something I do regularly, but you may want to see if changing the settings in the java.security policy helps. Settings to try are: jdk.tls.disabledAlgorithms jdk.certpath.disabledAlgorithms For reference: Java 8 Update 31, disabled SSLv3: http://www.oracle.com/technetwork/java/javase/8u31-relnotes-2389094.html, Java 8 Update 51, disabled some cipher suites, and limitations for DH keys where added: http://www.oracle.com/technetwork/java/javase/8u51-relnotes-2587590.html, similar for Java 8 Update 60: http://www.oracle.com/technetwork/java/javase/8u60-relnotes-2620227.html Java 8 update 71 disabled MD5 hash validation of certificates Java 8 update 121 added restrictions on DSA keysize: http://www.oracle.com/technetwork/java/javase/8u121-relnotes-3315208.html Java 8 Update 141 disabled SHA-1 hashes for the certificate chain: http://www.oracle.com/technetwork/java/javase/8u141-relnotes-3720385.html Java 8 update 161 added limitations for DH keys, made some changes to certificate validation and disabled a number of cipher suites: http://www.oracle.com/technetwork/java/javase/8u161-relnotes-4021379.html Java 8 update 171 disabled some ciphersuites: http://www.oracle.com/technetwork/java/javase/8u171-relnotes-4308888.html Mark