Re: ssl connection issues

Vladimir Sitnikov <[email protected]>
Newsgroups gmane.comp.db.postgresql.jdbc
Message-ID <CAB=Je-GBXFrmkLYY2fkzBfpXTCGR6P9PPk74pdJ-6n+orWjyGg@mail.gmail.com>
>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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.