Re: Out-of-tree certificate interferes ssltest

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Daniel Gustafsson <daniel@yesql.se>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2022-03-22T04:27:38Z
Lists: pgsql-hackers
On Fri, Mar 18, 2022 at 06:15:28PM -0400, Andrew Dunstan wrote:
> On 3/17/22 21:02, Michael Paquier wrote:
>> Another thing that Horiguchi-san has pointed out upthread (?) is 003,
>> where it is also possible to trigger failures once the environment is
>> hijacked.  The attached allows the full test suite to pass without
>> issues on my side.
> 
> LGTM

Thanks for looking at it.  I have been able to check this stuff across
all the supported branches, and failures happen down to 10.  That's
easy enough to see once you know how to break the tests.

There were a couple of conflicts, but nothing impossible to fix, so
applied down to v10.  REL_11_STABLE had one extra failure in
002_scram.pl that was already fixed in v12~.
--
Michael

Commits

  1. Fix failures in SSL tests caused by out-of-tree keys and certificates