From: | Dave Cramer <pg(at)fastcrypt(dot)com> |
---|---|
To: | Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com> |
Cc: | gbulfon(at)sonicle(dot)com, pgsql-jdbc(at)lists(dot)postgresql(dot)org |
Subject: | Re: ssl connection issues |
Date: | 2018-09-13 14:52:36 |
Message-ID: | CADK3HHL4g+ASCgoPYCVhu5uBP0RRCO1k5zC7NVH=QMKXgGEy5A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
On Thu, 13 Sep 2018 at 09:34, Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
wrote:
> >Last I tried with jdbc, thinking it would have been so easy: I'm
> fighting for 2 days with lots of different issues.
>
> Which pgjdbc version are you using?
>
> >it would look for a pk8 file (why this difference?).
>
> I've no idea.
>
As far as I know Java requires a pk8 file
>
> >sslfactory=org.postgresql.ssl.jdbc4.LibPQFactory
>
> It is a default, so you might omit that
>
> >ssl=true&sslmode=require
>
> It is a bit misleading, and I would recommend to stick to sslmode. ssl=
>
> >Received fatal alert: decrypt_error
>
> It does look like Java side does not support the cipher.
> What was the way to create the server certificate?
>
> Could you please list the output of
> openssl x509 -in server.crt -text
>
> ?
>
> Vladimir
>
Dave Cramer
davec(at)postgresintl(dot)com
www.postgresintl.com
From | Date | Subject | |
---|---|---|---|
Next Message | Craig Ringer | 2018-09-13 15:09:32 | Re: ssl connection issues |
Previous Message | Vladimir Sitnikov | 2018-09-13 13:33:59 | Re: ssl connection issues |