Edb Jdbc Ssl Connection

From: ayagmur75(at)yandex(dot)com
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Edb Jdbc Ssl Connection
Date: 2021-01-31 05:51:36
Message-ID: 14561612071536@mail.yandex.com.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<div><div>I want to establish simple jdbc ssl connection using edb as 11 and java 8 u271 with postgresql jdbc driver 42.2.9 (I have also tried these versions: 42.2.18 and 42.2.8).</div><div>I followed the instructions from the following link.</div><div><div><div>https://www.enterprisedb.com/postgres-tutorials/how-enable-ssl-authentication-edb-postgres-advanced-server</div></div><div><br /></div></div><div>I tested ssl connection successfully using "psql". But I cannot establish a jdbc connection. I got "FATAL: connection requires a valid client certificate" error.</div><div> </div><div>After a little googling, I want to use a different url than specified here just to consume all the possibilities.  After modifiying the url with "sslcert=./test/client.crt sslkey=./test/client.key sslrootcert=./test/server.crt" I got "SSLSocket duplex close failed".</div><div> </div><div>Could you please help me with this problem?</div><div> </div><div>Thanks for you in advance.</div><div> </div><div> </div></div>

Attachment Content-Type Size
unknown_filename text/html 1016 bytes

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Singer 2021-01-31 21:17:56 Re: Offlne Slony Installation
Previous Message ayagmur75 2021-01-31 05:38:07 Offlne Slony Installation