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 1m8zgn-0001zO-MJ for pgsql-general@arkaria.postgresql.org; Thu, 29 Jul 2021 06:38:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m8zgl-0006lc-PZ for pgsql-general@arkaria.postgresql.org; Thu, 29 Jul 2021 06:38:39 +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 1m8zgl-0006lU-GS for pgsql-general@lists.postgresql.org; Thu, 29 Jul 2021 06:38:39 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m8zgj-0000PS-DD for pgsql-general@postgresql.org; Thu, 29 Jul 2021 06:38:39 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 88EBD5C00E9; Thu, 29 Jul 2021 02:38:35 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 29 Jul 2021 02:38:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=Cep6p5GzMPLYwJF/I63bVlwxfCs Xae7cwPEG9b9K2Hk=; b=hMStjGqgeiwldZysGJHt18H00CgHeaZfE7MMtW6Wbi/ +786TbzZXtZMSxFIVCixQo0yEOptkQFuo+xReckOm9RqTwoelrb1JAseJFmyiAi3 HsHiLHk+xfZ33SuKG+JtyD7/JV+v4i7Bl93HQHMF1JS8uLSiV3A5N7u7PbOL2ME+ dSP1BzzPEUq7UQbT1t2//M71voscFFjdabx0GInoQ+BF0waFAEWfuwuYQR0GFYkz g8w94t33kelwgIysis3ARTEtZZ117Yur7dXKuXOrYwnoy2eNuHC3FExOiqsZ0x0B Dx8UQRgrRKaGURCNdABdsC8UksZsJVeWkPy1mECRklw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=Cep6p5 GzMPLYwJF/I63bVlwxfCsXae7cwPEG9b9K2Hk=; b=n+BOJFKVYn+OqbBMoufK/a ZG2unMwXIiaSwlgA3BzL9ZTKc7u58RF0ySCfUcheCDxpt335M+OWkTZE6SgF94r4 1avHKku0J9afeL6WWHcCDTcTOYnCxMbA2LvtizRP8dRKqKjV1xZLmW3S9Yj45kl2 kzNuHNiXQxq4vvNoTama/XE52Rgeq94EnRxcbWh9b2kXzcGajM6R/lGgwLNZ8Jw5 1hYAkgOfKtYUR/xT8p0st27H6oWmWSIP7ix4jfXBlI420kN507VNzQy5F6qNbL24 rCwEWicZgpbhaHfSUzw/yvGviukVIeiuo08wZeAy0GS616eRU8Ou1rRp4EeBcuLQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrhedtgdellecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdejtddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepvdegudeuhfdtueeltedtveejheeh ieevueeigeelteegleejleeiueeiheegvefhnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 29 Jul 2021 02:38:33 -0400 (EDT) Date: Thu, 29 Jul 2021 15:38:26 +0900 From: Michael Paquier To: M Tarkeshwar Rao Cc: "'pgsql-general@postgresql.org'" , Kirti Dhar Upadhyay K Subject: Re: How postgres is refreshing TLS certificates Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="b/xrV34Oe+f7aNPb" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --b/xrV34Oe+f7aNPb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 28, 2021 at 06:51:22AM +0000, M Tarkeshwar Rao wrote: > We are working on a activity in which I need to refresh the TLS > certificate without restarting the my application pod.=20 > This feature is already there in Postgres. Can anyone please suggest > us how postgres is implemented the same? Hard to answer with so little detail, but if you are referring to the backend server, aren't you looking for the fact that SSL contexts and its surrounding applications can be reloaded? That would apply after a simple pg_ctl "reload" for example. -- Michael --b/xrV34Oe+f7aNPb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmECTOIACgkQnvQgOdby QH3kfBAAhIKVljEB3n2Ps6R7IajH1VErToZLJ3bx2U64n1le6/J6F17McFfvL7EB CBOfsoAL7LVeWlfqnxO25w6VbP+vIgLXSvGvCfunsWN8aaGSJ6IT1Axn9clU0O5R CZ9a3UPR4+QU/OHWHRpkPHp3AL+878VCdXwjP5S3jmHdXrzTydJzGR8FbTWOF5a6 7AUpNMY/xoB6WBP9Aoc1p4RqfOGYZz88FU0l3B0CfRrm4+xRhr5c9Q9FUDgNjUli hAOn8GwmRttsQl07GhAAS9SdumWFhSewYMpBHtiQlPJIj+nz1WJzNXICQN7TRqtQ KEEHeiRSPmP51GyXkumlOvHem/2mOHbQm3KqYreIgv2PEo7VtnV2vFmfD5a23KFk WAdgtplcXyMDuzRgdDAcZAfCpGz+mp0qZxlf4tM6I5DH+UeXl2CckATvpXaLZaoE uDkjnOqdaA8c26jAk+3Ggz0oTFVEOe+UVRmY4D9Tq3DQLq2NTlBmmLp87zcZr7aE Bd6gMqTZXOaswXl53UIza3A1/nZdIX6CDQJxrJMvRCZzFwtRaXV6jUMTu7WJAwQq 7oeJ0Lg8BoyltviCJ4sdSYZhgyLqah5SXQiROAIeDf89o3HkLNmmJCWPtY9ti+Cb R6LtMMO7j0zRuzWbb+IAFxYLEG9ieu9xf5ZUplff4Y2VzQSmuKE= =rMW/ -----END PGP SIGNATURE----- --b/xrV34Oe+f7aNPb--