pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Edb Jdbc Ssl Connection
3+ messages / 2 participants
[nested] [flat]

* Edb Jdbc Ssl Connection
@ 2021-01-31 05:51  ayagmur75@yandex.com
  0 siblings, 1 reply; 3+ messages in thread

From: ayagmur75@yandex.com @ 2021-01-31 05:51 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

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

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Edb Jdbc Ssl Connection
@ 2021-02-01 06:44  ayagmur75@yandex.com
  parent: ayagmur75@yandex.com
  0 siblings, 1 reply; 3+ messages in thread

From: ayagmur75@yandex.com @ 2021-02-01 06:44 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

<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" &lt;ayagmur75@yandex.com&gt;:</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>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Edb Jdbc Ssl Connection
@ 2021-02-01 13:52  Dave Cramer <davecramer@postgres.rocks>
  parent: ayagmur75@yandex.com
  0 siblings, 0 replies; 3+ messages in thread

From: Dave Cramer @ 2021-02-01 13:52 UTC (permalink / raw)
  To: ayagmur75@yandex.com; +Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>

Please follow the instructions here

Configuring the Client (postgresql.org)
<https://jdbc.postgresql.org/documentation/head/ssl-client.html;
<https://jdbc.postgresql.org/documentation/head/ssl-client.html;
Dave Cramer
www.postgres.rocks


On Mon, 1 Feb 2021 at 01:44, <ayagmur75@yandex.com> wrote:

>
> 42.2.9 and java 8 u162 have worked.
>
>
>
>
> 31.01.2021, 08:51, "ayagmur75@yandex.com" <ayagmur75@yandex.com>:
>
> 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).
> I followed the instructions from the following link.
>
> https://www.enterprisedb.com/postgres-tutorials/how-enable-ssl-authentication-edb-postgres-advanced-...
>
> I tested ssl connection successfully using "psql". But I cannot establish
> a jdbc connection. I got "FATAL: connection requires a valid client
> certificate" error.
>
> 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".
>
> Could you please help me with this problem?
>
> Thanks for you in advance.
>
>
>
>

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2021-02-01 13:52 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-01-31 05:51 Edb Jdbc Ssl Connection ayagmur75@yandex.com
2021-02-01 06:44 ` ayagmur75@yandex.com
2021-02-01 13:52   ` Dave Cramer <davecramer@postgres.rocks>

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