Re: [GENERAL] SSL confirmation - (could not accept SSL connection:

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] SSL confirmation - (could not accept SSL connection:
Дата
Msg-id 7625.1102375187@sss.pgh.pa.us
обсуждение исходный текст
Список pgsql-jdbc
Andrew M <andrew@jibeya.com> writes:
> below is a breakdown of the problems i am experiencing with SSL
> ...
> Caused by: javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: No truste
> d certificate found

It would appear that either you didn't put a root certificate into the
server's $PGDATA/root.crt file, or the server certificate you put into
$PGDATA/server.crt isn't signed by any of the CAs that the client code
thinks are trusted.  I have no idea where the javax.net.ssl library
looks for trusted certs; possibly you could find someone more clueful
about that on pgsql-jdbc.

            regards, tom lane

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Patch for jdbc escaped functions
Следующее
От: Andrew M
Дата:
Сообщение: PostgreSQL + SSL - sun.security.validator.ValidatorException