From: ayagmur75@yandex.com
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Edb Jdbc Ssl Connection
Date: Mon, 01 Feb 2021 09:44:29 +0300
Message-ID: <117241612161779@mail.yandex.com.tr> (raw)
In-Reply-To: <14561612071536@mail.yandex.com.tr>
References: <14561612071536@mail.yandex.com.tr>
<div><div> </div><div>42.2.9 and java 8 u162 have worked.</div><div> </div></div><div> </div><div> </div><div> </div><div>31.01.2021, 08:51, "ayagmur75@yandex.com" <ayagmur75@yandex.com>:</div><blockquote><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><a href="https://www.enterprisedb.com/postgres-tutorials/how-enable-ssl-authentication-edb-postgres-advanced-...; rel="noopener noreferrer">https://www.enterprisedb.com/postgres-tutorials/how-enable-ssl-authentication-edb-postgres-advanced-... 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></blockquote>
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: <117241612161779@mail.yandex.com.tr>
References: <14561612071536@mail.yandex.com.tr> <117241612161779@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