Re: Query related to postgresql jdbc 42.2.5

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: rob stone <floriparob(at)gmail(dot)com>
Cc: pradeep09puppala(at)gmail(dot)com, pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: Re: Query related to postgresql jdbc 42.2.5
Date: 2018-10-16 22:14:57
Message-ID: CADK3HHKVwmmnZx9kB41=Ci+2shLoa98m31aZadL=6jDYpBVt3g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

or the release notes

https://jdbc.postgresql.org/

in 45.2.5 we changed the semantics you can add sslmode=prefer to not verify
the cert.
https://jdbc.postgresql.org/documentation/head/connect.html#connection-parameters

Dave Cramer

davec(at)postgresintl(dot)com
www.postgresintl.com

On Mon, 15 Oct 2018 at 22:38, rob stone <floriparob(at)gmail(dot)com> wrote:

> Hello,
>
> On Mon, 2018-10-15 at 18:29 +0530, pradeep puppala wrote:
> > Hi
> >
> > I am trying to connect to postgresql database with jdbc postgresql
> > 42.2.5 with "ssl=true" but I am getting error as below.
> >
> > SSL error: sun.security.validator.ValidatorException: PKIX path
> > building failed:
> > sun.security.provider.certpath.SunCertPathBuilderException: unable to
> > find valid certification path to requested target.
> >
> > I am using self signed certificates and jre version is 1.7.0.151. I
> > am struck here please help. Thanks in advance.
> >
> > Best regards
> > Pradeep
>
> This post may provide some clues.
>
>
> https://stackoverflow.com/questions/18378869/pkix-path-building-failed-in-java-application#24705398
>
> OR
>
>
> https://stackoverflow.com/questions/18378869/pkix-path-building-failed-in-java-application#24705398
>
>
> HTH,
> Rob
>
>
>
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Vladimir Sitnikov 2018-10-17 08:36:23 Re: Query related to postgresql jdbc 42.2.5
Previous Message Dave Cramer 2018-10-16 12:47:00 [pgjdbc/pgjdbc] e44e4e: perf: ignore tables for PgDatabaseMetaData.getType...