pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ayagmur75@yandex.com
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Edb Jdbc Ssl Connection
Date: Sun, 31 Jan 2021 08:51:36 +0300
Message-ID: <14561612071536@mail.yandex.com.tr> (raw)

<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-... /></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>

view thread (3+ messages)  latest in thread

Message-ID: <14561612071536@mail.yandex.com.tr>
Permalink:  ../14561612071536@mail.yandex.com.tr/
Also on:    postgresql.org/message-id/14561612071536@mail.yandex.com.tr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ayagmur75@yandex.com
  Subject: Re: Edb Jdbc Ssl Connection
  In-Reply-To: <14561612071536@mail.yandex.com.tr>
  References: <14561612071536@mail.yandex.com.tr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox