Обсуждение: BUG #6679: Can't connect via JDBC Driver

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

BUG #6679: Can't connect via JDBC Driver

От
mitzanu@gmail.com
Дата:
The following bug has been logged on the website:

Bug reference:      6679
Logged by:          Mihai
Email address:      mitzanu@gmail.com
PostgreSQL version: 9.1.4
Operating system:   WIn 7
Description:=20=20=20=20=20=20=20=20

I'm using a database management tool that uses a JDBC driver i think this
issue is JDBC related.


Error
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target
javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target The connection attempt failed.

Re: BUG #6679: Can't connect via JDBC Driver

От
Craig Ringer
Дата:
On 06/08/2012 06:55 PM, mitzanu@gmail.com wrote:
> The following bug has been logged on the website:
>
> Bug reference:      6679
> Logged by:          Mihai
> Email address:      mitzanu@gmail.com
> PostgreSQL version: 9.1.4
> Operating system:   WIn 7
> Description:
>
> I'm using a database management tool that uses a JDBC driver i think this
> issue is JDBC related.

Your report lacks pretty much every important detail, and there's no
sign from what you have posted that there is a bug in PgJDBC. Most
likely your code has an issue or your environment is misconfigured.
There is no way to tell, or to help you, from the amount of information
you have provided.

Please post a more complete question to pgsql-jdbc@lists.postgresql.org
after reading this:

http://wiki.postgresql.org/wiki/Guide_to_reporting_problems

In particular, you should show:

- Your version of Windows, in detail, like "Windows 7 Professional
Service Pack  x64".
- Your code, or if you're using a premade tool the name and version of
the tool
- The PgJDBC version you're using
- The version of the Java Runtime Environment you're using
- Whether your server is configured to use SSL
- Whether your connection is configured to use SSL
- Whether your server is requesting a client certificate
- Whether you're trying to provide a client certificate
- The context that surrounded those error messages

--
Craig Ringer