Re: SSL Certificates in Windows 7 & Postgres 9.3

Поиск
Список
Период
Сортировка
От harpagornis
Тема Re: SSL Certificates in Windows 7 & Postgres 9.3
Дата
Msg-id 1418792199858-5831037.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: SSL Certificates in Windows 7 & Postgres 9.3  (harpagornis <shenlong@runbox.com>)
Ответы Re: SSL Certificates in Windows 7 & Postgres 9.3  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
To anyone following this thread, I would also like to point out the
following, from Man 31.18.1.

In verify-full mode, the cn (Common Name) attribute of the certificate is
matched against the host name. If the cn attribute starts with an asterisk
(*), it will be treated as a wildcard, and will match all characters except
a dot (.). This means the certificate will not match subdomains. If the
connection is made using an IP address instead of a host name, the IP
address will be matched (without doing any DNS lookups).
-----------------------------------------------------------------
So it seems that when creating self-signed certificates for use in
verify-full mode, the CN is not the user id, but instead, the host name, ie.
127.0.0.1, which is what I had.



--
View this message in context:
http://postgresql.nabble.com/SSL-Certificates-in-Windows-7-Postgres-9-3-tp5830749p5831037.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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

Предыдущее
От: Ramesh T
Дата:
Сообщение: Re: pg_dump
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: SSL Certificates in Windows 7 & Postgres 9.3