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 1qByH9-0005t1-3V for pgsql-admin@arkaria.postgresql.org; Wed, 21 Jun 2023 13:53:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qByH7-0004Ex-Ru for pgsql-admin@arkaria.postgresql.org; Wed, 21 Jun 2023 13:53:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qByH7-0004DM-HB for pgsql-admin@lists.postgresql.org; Wed, 21 Jun 2023 13:53:33 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qByH5-003RKd-3D for pgsql-admin@lists.postgresql.org; Wed, 21 Jun 2023 13:53:32 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 35LDrMff3757322; Wed, 21 Jun 2023 09:53:23 -0400 From: Tom Lane To: Axel Rau cc: pgsql-admin@lists.postgresql.org Subject: Re: SSL cert "not initialized" error with logical replication with 13.11 In-reply-to: References: Comments: In-reply-to Axel Rau message dated "Wed, 21 Jun 2023 12:11:43 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3757320.1687355602.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 21 Jun 2023 09:53:22 -0400 Message-ID: <3757321.1687355602@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Axel Rau writes: > After upgrading to 13.11, Publisher no longer accepts cert of subscriber= . The error is pretty clear: > RROR,XX000,"could not connect to the publisher: SSL error: sslv3 alert c= ertificate expired",,,,,,,,,"","logical replication worker" > Servercert: > Not Before: Aug 18 09:12:35 2022 GMT > Not After : Aug 29 09:12:35 2023 GMT How sure are you that that cert is the one the publisher is using? Also, maybe the complaint is about a cert being used by the subscriber, not the publisher? I don't think this error message would distinguish that. regards, tom lane