Re: [PATCH] Accept IP addresses in server certificate SANs

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: [PATCH] Accept IP addresses in server certificate SANs
Дата
Msg-id 3F1A8748-DEF8-454C-B7ED-F536CCF7F115@yesql.se
обсуждение исходный текст
Ответ на Re: [PATCH] Accept IP addresses in server certificate SANs  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCH] Accept IP addresses in server certificate SANs  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
> On 27 Mar 2022, at 23:19, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> This may be caused by 9ca234bae or 4a7e964fc.


I'd say 4a7e964fc is the culprit here.  From a quick skim the the
switch_server_cert() calls need to be changed along the lines of:

  from: switch_server_cert($node, 'server-ip-in-dnsname');
    to: switch_server_cert($node, certfile => 'server-ip-in-dnsname');

There migth be more changes required, that was the one that stood out.  Unless
someone beats me to it I'll take a look at fixing up the test in this patch
tomorrow.

--
Daniel Gustafsson        https://vmware.com/




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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Assert in pageinspect with NULL pages
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SQL/JSON: functions