Обсуждение: Documentation of LibPQFactory SSL factory?

Поиск
Список
Период
Сортировка

Documentation of LibPQFactory SSL factory?

От
Ian Pilcher
Дата:
Poking around in the source code, I stumbled on the LibPQFactory class,
which appears to be an alternative SSLSocketFactory which adds some
much needed features -- hostname verification, client certificates,
customized server CA, etc.

Is there any documentation of how to use these features anywhere?

Thanks!

--
========================================================================
Ian Pilcher                                         arequipeno@gmail.com
Sometimes there's nothing left to do but crash and burn...or die trying.
========================================================================

Re: Documentation of LibPQFactory SSL factory?

От
Kevin Grittner
Дата:
Ian Pilcher <arequipeno@gmail.com> wrote:

> Poking around in the source code, I stumbled on the LibPQFactory class,
> which appears to be an alternative SSLSocketFactory which adds some
> much needed features -- hostname verification, client certificates,
> customized server CA, etc.
>
> Is there any documentation of how to use these features anywhere?

Oddly, I don't see anything in the documentation about it, but
there is a post which might serve as an example for its use:

http://www.postgresql.org/message-id/007601cdffb5$cc4834a0$64d89de0$@kommi@huawei.com

--
Kevin Grittner
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company