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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #17522: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL test fails on OpenBSD 7.1
Дата
Msg-id dc372104-a17d-a2de-bd6a-d9b5b3c7a829@enterprisedb.com
обсуждение исходный текст
Ответ на Re: BUG #17522: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL test fails on OpenBSD 7.1  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: BUG #17522: While using --with-ssl=openssl and PG_TEST_EXTRA='ssl' options, SSL test fails on OpenBSD 7.1  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Список 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?



В списке pgsql-bugs по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17524: Increase in WAL size due to logical replication with publication contain a table with low activity.
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Issue with SSL and password protected keys in DER/PK8 format