Re: SSL regression test suite

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: SSL regression test suite
Дата
Msg-id 53EA0E58.90405@vmware.com
обсуждение исходный текст
Ответ на Re: SSL regression test suite  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: SSL regression test suite  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-hackers
On 08/12/2014 02:28 PM, Andres Freund wrote:
> On 2014-08-12 14:01:18 +0300, Heikki Linnakangas wrote:
>> Also, to test sslmode=verify-full, where the client checks that the server
>> certificate's hostname matches the hostname that it connected to, you need
>> to have two aliases for the same server, one that matches the certificate
>> and one that doesn't. But I think I found a way around that part; if the
>> certificate is set up for "localhost", and connect to "127.0.0.1", you get a
>> mismatch.
>
> Alternatively, and to e.g. test wildcard certs and such, I think you can
> specify both host and hostaddr to connect to connect without actually
> doing a dns lookup.

Oh, I didn't know that's possible! Yeah, that's a good solution.

- Heikki



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

Предыдущее
От: Marti Raudsepp
Дата:
Сообщение: Re: jsonb format is pessimal for toast compression
Следующее
От: "Tomas Vondra"
Дата:
Сообщение: Re: 9.5: Memory-bounded HashAgg