Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lshPQ-0004BT-0G for pgsql-admin@arkaria.postgresql.org; Mon, 14 Jun 2021 07:53:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lshPN-0002E5-Vi for pgsql-admin@arkaria.postgresql.org; Mon, 14 Jun 2021 07:53:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lshPM-0002Dw-Uh for pgsql-admin@lists.postgresql.org; Mon, 14 Jun 2021 07:53:21 +0000 Received: from wforward4-smtp.messagingengine.com ([64.147.123.34]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lshPI-0005LJ-6K for pgsql-admin@postgresql.org; Mon, 14 Jun 2021 07:53:19 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailforward.west.internal (Postfix) with ESMTP id A58AD179A; Mon, 14 Jun 2021 03:53:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 14 Jun 2021 03:53:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=kzS4bRmpYMc7r4Jgit6ZQtXivM4XPF8i0t/iG/mZu dE=; b=lP7jLuYBe5wKZYl2pffo66lygvMLLyy85yBIMM74ZrIkndtmoQpI/G8o2 PfV6/VYV8CcZc6wGx/8hvWZ51VyAzpHFPH88roLok/cFBTUSstD47gTCTevnbCG3 uCi2A7Fz477ZQmuJXxpa5uCSU6Ruqzl1JJ43IaCQNY0dmZpPd1g3Uzrbf6MNimWS ojWrwlbgNzYRodvJm8hNjmTykuFP/g4xRYaRDynQHJZ/QC0wFobtlyqo64BZgJ0Y H1LzUfSvUmsQBBCXiXzTu8QA33wXu1nT6D++VkeLLZL6tmE1WPFaX6FAoQJoGjhr 4ukfdZazj1cVOsfWUzt4nOUvZjJCQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedvgedguddvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvghnth gvrhhprhhishgvuggsrdgtohhmqeenucggtffrrghtthgvrhhnpeekheeihedvgeeugefh ffeuleeivdfgiefghfehvedvgeefgfefteegjedujeejheenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghu thesvghnthgvrhhprhhishgvuggsrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 14 Jun 2021 03:53:10 -0400 (EDT) Subject: Re: PostgreSQL SSL params To: pramod kg , pgsql-admin@postgresql.org References: From: Peter Eisentraut Message-ID: <487d3054-08c3-1215-b39e-c1d32ec06bde@enterprisedb.com> Date: Mon, 14 Jun 2021 09:53:08 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 13.06.21 16:20, pramod kg wrote: > I have enabled ssl on my PG servers and have set ssl_cipher to "HIGH". > Still, the security team complains that weak ciphers are accepted at > server side (They have run some security tests). Try to get a list of specific ciphers that they object to. Then you can use "openssl ciphers" and SSL_CTX_set_cipher_list(3) to tune your settings. > Security team > suggesting to use ssl_dh_params_file. > > As per my understanding, DH is a key exchange protocol (read in some > forum). DH is used to securely generate a common key between two > parties, other algorithms are used for encryption itself. So I > believe that dhparam does not help in resolving weak cipher issues. Need > some insight on this. I think you are correct on this.