Re: ssl connections to postgresql

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: ssl connections to postgresql
Дата
Msg-id 46A67D5F.6070001@commandprompt.com
обсуждение исходный текст
Ответ на ssl connections to postgresql  ("James B. Byrne" <byrnejb@harte-lyne.ca>)
Ответы Re: ssl connections to postgresql  ("James B. Byrne" <byrnejb@harte-lyne.ca>)
Список pgsql-general
James B. Byrne wrote:
> PostgreSQL 8.1.9
> CentOS 4.5
>
> I have setup postgresql to use ssl and have configured and restarted the
> service without error.  I am connecting a web app from a remote httpd host
> and I would like to verify that the connection between these two machines
> is indeed employing ssl for the application in question.

just enforce hostssl in your pg_hba.conf and nothing else. If you can
connect, you are good :)

Joshua D. Drake

>
> I can connect from the httpd host to the postgresql host using psql and it
> shows that an ssl connection with a 256 bit key is in use.  However, I
> would like to verify that the web app is also using ssl and I cannot seem
> to find any logging setting or other mechanism that will explicitly state
> that the connection made by this application is using ssl.
>
> Is there some confidence check that I can invoke via a log setting or
> something else to have the postgresql server state with certainty that the
> connection between the app host and the db host is via ssl?
>
> I subscribe to the digest version so the favour of a direct reply in
> addition to any sent to this list is requested
>
>
> Regards,
>


--

       === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997
              http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/


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

Предыдущее
От: "James B. Byrne"
Дата:
Сообщение: ssl connections to postgresql
Следующее
От: cluster
Дата:
Сообщение: Functions refering directly to table columns?