Re: JDBC connection to postgres via SSL

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: JDBC connection to postgres via SSL
Дата
Msg-id Pine.BSO.4.56.0406251442140.5961@leary.csoft.net
обсуждение исходный текст
Ответ на JDBC connection to postgres via SSL  ("Mark Borins" <mark.borins@rigadev.com>)
Список pgsql-jdbc

On Fri, 25 Jun 2004, Mark Borins wrote:

> I have been able to connect via ssl to the database from a client using
> pgAdmin III without any problem.
>
> However, from the same client my JDBC application cannot connect to the
> postgres server over SSL.

The libpq client doesn't need the client to recognize the server cert,
Java's default ssl connections do.  See the following message on how to
import the cert into your java keystore:

http://archives.postgresql.org/pgsql-jdbc/2003-08/msg00110.php

Kris Jurka


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

Предыдущее
От: "Mark Borins"
Дата:
Сообщение: JDBC connection to postgres via SSL
Следующее
От: siddiqui@mail.utexas.edu
Дата:
Сообщение: unsubscribe