Re: SSL confirmation - No trusted certificate found

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: SSL confirmation - No trusted certificate found
Дата
Msg-id Pine.BSO.4.56.0412060720210.11059@leary.csoft.net
обсуждение исходный текст
Ответ на Re: SSL confirmation - No trusted certificate found  (Andrew M <andrew@jibeya.com>)
Ответы Re: SSL confirmation - No trusted certificate found
Re: SSL confirmation - (could not accept SSL connection: sslv3 alert certificate unknown )
Список pgsql-general

On Mon, 6 Dec 2004, Andrew M wrote:

> jdbc:postgresql://localhost:5432/mydatabase?ssl
>
> When I launch Jboss, which handles the connection to postgresql, I get
> the following error:
>
> javax.net.ssl.SSLHandshakeException:
> sun.security.validator.ValidatorException: No trusted certificate found
>

Difficult to say.  Perhaps JBoss is deciding to use an alternate
truststore?  Perhaps it doesn't like your cert setup.  I would suggest
first running a simple client program to test that it's working first.
Also adding -Djavax.net.debug=ssl to the java command will help debugging
ssl problems.

Further the 8.0 JDBC driver can create SSL connnections without doing
authentication by adding using an additional url parameter:

sslfactory=org.postgresql.ssl.NonValidatingFactory

You should try to get it to authenticate correctly, but this is another
useful test point.

Kris Jurka

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

Предыдущее
От: Konstantin Danilov
Дата:
Сообщение: ...
Следующее
От: Tino Wildenhain
Дата:
Сообщение: Re: