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 1kDpa6-0004mX-Iw for pgsql-general@arkaria.postgresql.org; Thu, 03 Sep 2020 13:47:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kDpa5-0001n0-Bg for pgsql-general@arkaria.postgresql.org; Thu, 03 Sep 2020 13:47:13 +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 1kDpa4-0001ms-UZ for pgsql-general@lists.postgresql.org; Thu, 03 Sep 2020 13:47:13 +0000 Received: from sonic303-21.consmr.mail.ne1.yahoo.com ([66.163.188.147]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kDpa1-0007Kd-Ew for pgsql-general@postgresql.org; Thu, 03 Sep 2020 13:47:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verizon.net; s=a2048; t=1599140825; bh=Fo3rMnfGDzQAbcFmfwsaPItqxGFkh8MqUpffWNFfbfE=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=QKPuymsFVQvIbs77pvJ1lrQx8T7TVZnJEOgJCk+ySNODZRnUwXMPXl6LSF5RaZqU+LcaD24dxr+GPP5RvD2plfrECj67jpkXG/rqNWmQC/IEIAWERaIL6eFzBuxHPjTF/0yCklJtTOfsR5ZhDwfDQGJZSxHdaw/KTsJy4twum+knXe5m9/QLpXixe5qfEipdeIFV+h99E6taZpLBVO7GGVBHw9oAYIEdFGVhltn0lYxlluQP3g/Am4kLekPiuX8lyXGoezXN28XVq8ziKBDpCpIAeefU4+n7KvTB6+Fj46HH3+Uw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7q3BpM3ugPYsgOotQY6yVW9di_AcSAoHaOk01G OYClOFLruikzS2A7McellWn1PNv2q4OhQVO0UY7Ofak5GZQl4lsQZkxGcuEbzawUIXzCApF6nwX9 q2MZKr0d17ZzxOKDpEhbRbVoUsKejpj6F8l3s7XdpTXXFFYGcxj.rAwHCcZ.hnfixVDLsqYtllaT SDcm96ElCkMEGvyw4yRcAvxOUKQL_PFLYt7SzZV99mRtxE16W82vHaY4Im_6GVMdKlAwf9lGwSG2 XaJTfBadX0FJqZ_i21W3iVRUKE8L6bKf1GGJzz1aGz3.tWkvLXvhUBWw7E9Th8.ct2I9fIlpeavF e_M0wu7y3KgK8Q42shqwsYlfVE78l6YhfNWNGCKQEJo_8OJLpFR6snTuC8cb8burCrTaJk0p6ace y8p52M8JNkHuDbohXxPzSewflrVrCcYWnnzKpr1cFmN6XgvzUzG6Ei3E20gI2ihEisz6QUv1HJFc - Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Thu, 3 Sep 2020 13:47:05 +0000 Date: Thu, 3 Sep 2020 13:47:00 +0000 (UTC) From: Susan Joseph Reply-To: Susan Joseph To: "sfrost@snowman.net" Cc: "pgsql-general@postgresql.org" Message-ID: <875525261.2709349.1599140820429@mail.yahoo.com> In-Reply-To: <20200903131212.GN29590@tamriel.snowman.net> References: <976526972.6642745.1598278223530.ref@mail.yahoo.com> <976526972.6642745.1598278223530@mail.yahoo.com> <20200903122856.GL29590@tamriel.snowman.net> <1878379566.2669355.1599137708587@mail.yahoo.com> <1030654552.2676681.1599138579381@mail.yahoo.com> <20200903131212.GN29590@tamriel.snowman.net> Subject: Re: SSL between Primary and Seconday PostgreSQL DBs MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2709348_1115210096.1599140820428" X-Mailer: WebService/1.1.16565 aolwebmail Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0 Content-Length: 3789 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_2709348_1115210096.1599140820428 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =20 =20 Susan Joseph sandajoseph@verizon.net =20 =20 -----Original Message----- From: Stephen Frost To: Susan Joseph Cc: pgsql-general@postgresql.org Sent: Thu, Sep 3, 2020 9:12 am Subject: Re: SSL between Primary and Seconday PostgreSQL DBs Greetings, * Susan Joseph (sandajoseph@verizon.net) wrote: > So I made the changes on the secondary to change the sslmode to verify-fu= llI removed the clientcert=3D1 in pg_hba.conf and removed any connections o= ther than sslI removed the passfile info from recovery.confand now I am get= ting this error: > 2020-09-03 13:01:49.990 UTC [7963] FATAL:=C2=A0 could not connect to the = primary server: server certificate for "lc-subca-pg.theforest.sap" does not= match host name "192.168.1.142" >>Yes, as I explained, because of exactly the issue that the host you've >>told your secondary to connect to (looks like 192.168.1.142) doesn't >>match the certificate presented by the primary (which looks to be >>"lc-subca-pg.theforest.sap"). OK so I fixed that in my recovery.conf file so it is not set to the IP but = to the FQDN and it is no longer throwing this error. >>The answer is to make those two match. Thanks, Stephen ------=_Part_2709348_1115210096.1599140820428 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Susan Joseph
sandajoseph@verizon.net


-----Original Message-----
From: Stephen Frost <sfrost@snowman.net>
To: Susan Joseph <sandajoseph@verizon.net>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Sent: Thu, Sep 3, 2020 9:12 am
Subject: Re: SSL between Primary and Seconday PostgreSQL DBs

Greetings,

* Susan Joseph (sandajoseph@verizon.net) wrote:
> S= o I made the changes on the secondary to change the sslmode to verify-fullI= removed the clientcert=3D1 in pg_hba.conf and removed any connections othe= r than sslI removed the passfile info from recovery.confand now I am gettin= g this error:
> 2020-09-03 13:01:49.990 UTC [7963] FAT= AL:  could not connect to the primary server: server certificate for "= lc-subca-pg.theforest.sap" does not match host name "192.168.1.142"

>>Yes, as I exp= lained, because of exactly the issue that the host you've
>>told your secondary to connect to (looks l= ike 192.168.1.142) doesn't
>>match the certificate presented by the primary (which looks to be
>>"lc-subca-pg.theforest.sap").

OK so I fixed that in my recovery.conf file so it is = not set to the IP but to the FQDN and it is no longer throwing this error.<= br>

>>The answer is to make those two match.


Thanks,

Stephen
------=_Part_2709348_1115210096.1599140820428--