Re: ssl connection issues - Mailing list pgsql-jdbc

From Vladimir Sitnikov
Subject Re: ssl connection issues
Date
Msg-id CAB=Je-GBXFrmkLYY2fkzBfpXTCGR6P9PPk74pdJ-6n+orWjyGg@mail.gmail.com
Whole thread Raw
In response to ssl connection issues  (Gabriele Bulfon <gbulfon@sonicle.com>)
Responses Re: ssl connection issues
List pgsql-jdbc
>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.

>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

pgsql-jdbc by date:

Previous
From: Gabriele Bulfon
Date:
Subject: ssl connection issues
Next
From: Dave Cramer
Date:
Subject: Re: ssl connection issues