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 1qBuoZ-0002iH-Lz for pgsql-admin@arkaria.postgresql.org; Wed, 21 Jun 2023 10:11:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1qBuoY-0004bx-Ju for pgsql-admin@arkaria.postgresql.org; Wed, 21 Jun 2023 10:11:50 +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 1qBuoY-0004bo-7t for pgsql-admin@lists.postgresql.org; Wed, 21 Jun 2023 10:11:50 +0000 Received: from mailout4.lrau.net ([2a05:bec0:26:2::73]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qBuoV-003nTq-LE for pgsql-admin@lists.postgresql.org; Wed, 21 Jun 2023 10:11:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chaos1.de; s=2022; h=To:Date:Message-Id:Subject:Mime-Version:Content-Transfer-Encoding: Content-Type:From:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YP3MCJjvpKrixH6/zreeJ6heDcH9fCuwNpNbJCroHPs=; b=IGAWKzefv+w9QXCAGbyLX73+3Z d7PlADhCNVS+SLSP0IpuFNTm5WszLWKuhzoRaSTF2NB/hMcXSk+kyfptrfpOXWs+W6f9vKGZLadM+ r8kBa3+zK8x7Wyls2VqNT4rY23rY70a7BNec5lpf2+goWCbuKxgouLqxHhNafczhVtI78GXr3M0fi Z2n+1gpIX2KBR4qCzPbDMPoU/OywEs2NJ1Io9ltlkB5ku9E9DQuWtHlfv7ltHUrrVKenVL3Hb+4I5 xMiXKFZ1vJM1oYFASrGsho3TdEnDmEwfTRMhMpzxFzI4Fc/c0coTPFewhSkEaeXq/crVrqWrZ9QOk 02WtrUWA==; Received: from [2a05:bec0:26:2::74] (helo=imap4.lrau.net) by mailout4.lrau.net with esmtp (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qBuoS-0000tL-5Y for pgsql-admin@lists.postgresql.org; Wed, 21 Jun 2023 10:11:44 +0000 Received: from Axel.Rau@Chaos1.DE by imap5.lrau.net (Archiveopteryx 3.2.0) with esmtpsa id 1687342303-96626-96257/7/3; Wed, 21 Jun 2023 10:11:43 +0000 From: Axel Rau Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 Subject: SSL cert "not initialized" error with logical replication with 13.11 Message-Id: Date: Wed, 21 Jun 2023 12:11:43 +0200 To: pgsql-admin@lists.postgresql.org X-Mailer: Apple Mail (2.3608.120.23.2.7) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi all, After upgrading to 13.11, Publisher no longer accepts cert of subscriber. Certs have been issued by internal CA. Subscriber: ,DEBUG,00000,"starting logical replication worker for subscription = ""meteo""",,,,,,,,,"","logical replication launcher" EBUG,00000,"registering background worker ""logical replication worker = for subscription 16486""",,,,,,,,,"","postmaster" EBUG,00000,"starting background worker process ""logical replication = worker for subscription 16486""",,,,,,,,,"","postmaster" 0,LOG,00000,"logical replication apply worker for subscription ""meteo"" = has started",,,,,,,,,"","logical replication worker" EBUG,00000,"connecting to publisher using connection string ""host=3D port=3D5432 user=3Dreplicator dbname=3Doperations""",,,,,,,,,"","= logical replication worker" RROR,XX000,"could not connect to the publisher: SSL error: sslv3 alert = certificate expired",,,,,,,,,"","logical replication worker" EBUG,00000,"unregistering background worker ""logical replication worker = for subscription 16486""",,,,,,,,,"","postmaster" OG,00000,"background worker ""logical replication worker"" (PID 92845) = exited with exit code 1",,,,,,,,,"","postmaster" Servercert: Not Before: Aug 18 09:12:35 2022 GMT Not After : Aug 29 09:12:35 2023 GMT Publisher: "connection received: host=3D port=3D32501",,,,,,,,,"","not = initialized" "could not accept SSL connection: certificate verify failed",,,,,,,,,"","= not initialized" Servercert: Version: 3 (0x2) Serial Number: 37:19:dc:15:5c:e7:4e:b8:46:b0:a7:49:73:6a:9b:fa:c3:27:a0:6b Signature Algorithm: sha384WithRSAEncryption Issuer: <=E2=80=A6> internal CA Validity Not Before: Aug 18 09:12:35 2022 GMT Not After : Aug 29 09:12:35 2023 GMT Subject: CN =3D Subject Public Key Info: Public Key Algorithm: rsaEncryption RSA Public-Key: (2048 bit) What has changed with SSL in 13.11 ? How can I find out what really goes wrong here ? How to fix it. Any help appreciated, Axel =2D-- PGP-Key: CDE74120 =E2=98=80 mobile: +49 160 7568212 computing @ chaos claudius