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 1g1qU0-0004vw-Jc for pgsql-jdbc@arkaria.postgresql.org; Mon, 17 Sep 2018 10:10:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g1qTz-0006bF-0r for pgsql-jdbc@arkaria.postgresql.org; Mon, 17 Sep 2018 10:10:19 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g1qTy-0006b8-Kp for pgsql-jdbc@lists.postgresql.org; Mon, 17 Sep 2018 10:10:18 +0000 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1g1qTr-0007h8-LI for pgsql-jdbc@lists.postgresql.org; Mon, 17 Sep 2018 10:10:17 +0000 Received: by mail-lj1-x22c.google.com with SMTP id v26-v6so12634515ljj.3 for ; Mon, 17 Sep 2018 03:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=hBbJDudrEIKJxlQQOyncOYB5oBIB1D8r23hWjomWxjw=; b=TPbhV/JGA8QNs5re3zK5qct6xk6+TufeZbUhyH/ZzI9sFcK35+ZP27zFda4pSF6Wld fmp0j1r1WRCrHHdVI8VfJw2+mPu25oc/6+CY5AFfg+M0lRgVWowDDPcC1hkG5NGGxMy+ 2/FSf9h1YCnq4XxPAi2MHs333E8v8yBMHFs8hXNnuNm5ImTgBePvSOK2NaVBhAOY1+0G l2xWC/fafeE55phM3RXMP6VulDWYDeDzPgWFXRcjrQC7L27wD/kgl9Dyqay4i1jAEMRk 343XJWzTgMtBdCfrqaxnbZ5xy0YQeRMk0L9j6Szhk7CmdZ11UX7pwjIlF89EbS/eONKN hnKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=hBbJDudrEIKJxlQQOyncOYB5oBIB1D8r23hWjomWxjw=; b=Y4x31CpV5IjxoIcGLtBmQ+v+FNxp5aprRfpZshIfdSYfMGjZ9QGwWqlQmFqPxLd0Kp bSNsy7NYi0fyl+3WQxx25w4NLGrFCxx00EJgYGDs9vbubbXSBCNQcdIX22+GrmuK1f8S B2vJex4+4cJCa4YdswIJO4oX9aji7a7BGVRGwUwrXfIAlXYZO9rQPJRxBWFjDFtmTbPH jUGNnJY0PRnbJIt6ZOlQuvp1DDcvGVg/1OaGNayJQHPyISG57Du8FIaVcvY2SaPF/ucw AQ4yO6Q7uS+WFQFTsaJvnw8p6CzQq/DmI5E53go0R0pfhUL6bLP6EDHCqY6xykHWbXGL WWfA== X-Gm-Message-State: APzg51C+0ccXhIX4YKKarzF8uFfSrroRboSpuEPmVzLaIZb1Vb6oVSCu QCC7jBmDdO7/DG207vdrfq/9Atva X-Google-Smtp-Source: ANB0VdZg9Hg30yY2C0jF1a8kCUI3Zk080n6hm36NEvFuvpkT0MsZ+1XkuMG1zkIVz4tpj9xJ9oordw== X-Received: by 2002:a2e:29da:: with SMTP id p87-v6mr13892914ljp.12.1537179009279; Mon, 17 Sep 2018 03:10:09 -0700 (PDT) Received: from [10.55.20.154] ([80.91.33.134]) by smtp.googlemail.com with ESMTPSA id f25-v6sm2704124ljc.97.2018.09.17.03.10.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Sep 2018 03:10:08 -0700 (PDT) Subject: Re: ssl connection issues To: pgsql-jdbc@lists.postgresql.org References: <652759681.5047.1536841425886@www> <491225265.1372.1537176204835@www> From: =?UTF-8?Q?Alexander_Kj=c3=a4ll?= Message-ID: <90731313-9cd6-c020-9270-c9ef5d380390@gmail.com> Date: Mon, 17 Sep 2018 12:10:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Another avenue for debugging would be to get a free "real" certificate from https://letsencrypt.org/ and check if that works. That way you can see if it's something in your certificate creation process that causes trouble. //Alexander Kjäll On 17. sep. 2018 11:56, Mark Rotteveel wrote: > 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 >