SSL client crt verification

Поиск
Список
Период
Сортировка
От Knut P Lehre
Тема SSL client crt verification
Дата
Msg-id 42BFF0E800000CD1@cpfe4.be.tisc.dk
обсуждение исходный текст
Ответы Re: SSL client crt verification  (Douglas McNaught <doug@mcnaught.org>)
Список pgsql-hackers
Tried doc search, pgsql-general and #postgresql.

Server: 7.4.8 on Red Hat EL4. Client psql 8.0.3 on WinXP.
Using a test server.crt and server.key, as described in 8.0 docs 16.8, I
can activate SSL encryption (WinXP 8.0.3 psql reports "SSL Connection" at
connect), and as expected, the server log reports that root.crt is not found.
If I copy server.crt to root.crt and start up server again, the missing
root.crt message disappears. But I can still connect with psql with no postgresql.crt
on client (docs 27.13). Apparently, the root.crt, which in this case is
a copy of server.crt, is not interpreted as a CA crt, but how does the server
know? Isn't a CA cert just a self signed crt? Why is there not a warning
that client authentication will not take place, when it apparently does
not? Does the server only check that a root.crt file is present, and not
that is contains valid information?

Comments appreciated
KPL




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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: VACUUM/t_ctid bug (was Re: GiST concurrency commited)
Следующее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: [ANNOUNCE] Welcome Core Team member Dave Page