Re: BUG #17522: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL test fails on OpenBSD 7.1

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>, byavuz81(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17522: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL test fails on OpenBSD 7.1
Date: 2022-06-20 12:22:09
Message-ID: dc372104-a17d-a2de-bd6a-d9b5b3c7a829@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 20.06.22 05:05, Michael Paquier wrote:
> On Fri, Jun 17, 2022 at 12:03:16PM +0000, PG Bug reporting form wrote:
>
> Thanks for the report.
>
>> [11:41:29.100](0.001s) not ok 77 - IPv4 host with CIDR mask does not match:
>> matches
>> [11:41:29.100](0.000s)
>> [11:41:29.100](0.000s) # Failed test 'IPv4 host with CIDR mask does not
>> match: matches'
>> # at t/001_ssltests.pl line 336.
>> [11:41:29.100](0.000s) # 'psql: error: connection to
>> server at "127.0.0.1", port 60779 failed: could not set SSL Server Name
>> Indication (SNI): ssl3 ext invalid servername'
>> # doesn't match '(?^:server\ certificate\ for\ \"192\.0\.2\.1\"\ \(and\
>> 1\ other\ name\)\ does\ not\ match\ host\ name\ \"192\.0\.2\.1\/32\")'
>
> There is only one failure. None of the buildfarm members running
> OpneBSD check the SSL tests, but this specific test has been
> introduced by c1932e5.
>
> I am adding Peter and Jacob in CC. This is a new open item for v15.

The test is

$node->connect_fails(
"$common_connstr host=192.0.2.1/32",
"IPv4 host with CIDR mask does not match",
expected_stderr =>
qr/\Qserver certificate for "192.0.2.1" (and 1 other name)
does not match host name "192.0.2.1\/32"\E/
);

which is not using a valid host name to begin with. What is the purpose
of this test?

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Magnus Hagander 2022-06-20 21:21:34 Re: Issue with SSL and password protected keys in DER/PK8 format
Previous Message PG Bug reporting form 2022-06-20 11:19:38 BUG #17524: Increase in WAL size due to logical replication with publication contain a table with low activity.