Re: [PATCH] Accept IP addresses in server certificate SANs
От | Tom Lane |
---|---|
Тема | Re: [PATCH] Accept IP addresses in server certificate SANs |
Дата | |
Msg-id | 552429.1648415967@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: [PATCH] Accept IP addresses in server certificate SANs (Jacob Champion <pchampion@vmware.com>) |
Ответы |
Re: [PATCH] Accept IP addresses in server certificate SANs
Re: [PATCH] Accept IP addresses in server certificate SANs |
Список | pgsql-hackers |
Jacob Champion <pchampion@vmware.com> writes: > [ v10-0001-Move-inet_net_pton-to-src-port.patch etc ] There is something broken about the ssl tests as modified by this patch. The cfbot doesn't provide a lot of evidence about why it's failing, but I applied the patchset locally and what I see is ... ok 47 - mismatch between host name and server certificate sslmode=verify-full: m atches Odd number of elements in hash assignment at /home/postgres/pgsql/src/test/ssl/t /SSL/Server.pm line 288. Use of uninitialized value in concatenation (.) or string at /home/postgres/pgsq l/src/test/ssl/t/SSL/Backend/OpenSSL.pm line 178. Use of uninitialized value in concatenation (.) or string at /home/postgres/pgsq l/src/test/ssl/t/SSL/Backend/OpenSSL.pm line 178. ### Restarting node "primary" # Running: pg_ctl -w -D /home/postgres/pgsql/src/test/ssl/tmp_check/t_001_ssltes ts_primary_data/pgdata -l /home/postgres/pgsql/src/test/ssl/tmp_check/log/001_ss ltests_primary.log restart waiting for server to shut down.... done server stopped waiting for server to start.... stopped waiting pg_ctl: could not start server The tail end of the server log is 2022-03-27 17:13:11.482 EDT [551720] FATAL: could not load server certificate file ".crt": No such file or directory so it seems pretty clear that something's fouling up computation of a certificate file name. This may be caused by 9ca234bae or 4a7e964fc. regards, tom lane
В списке pgsql-hackers по дате отправления: