Re: JDBC connection to postgres via SSL

From: Kris Jurka <books(at)ejurka(dot)com>
To: Mark Borins <mark(dot)borins(at)rigadev(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: JDBC connection to postgres via SSL
Date: 2004-06-25 19:44:22
Message-ID: Pine.BSO.4.56.0406251442140.5961@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Fri, 25 Jun 2004, Mark Borins wrote:

> I have been able to connect via ssl to the database from a client using
> pgAdmin III without any problem.
>
> However, from the same client my JDBC application cannot connect to the
> postgres server over SSL.

The libpq client doesn't need the client to recognize the server cert,
Java's default ssl connections do. See the following message on how to
import the cert into your java keystore:

http://archives.postgresql.org/pgsql-jdbc/2003-08/msg00110.php

Kris Jurka

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message siddiqui 2004-06-26 03:56:39 unsubscribe
Previous Message Mark Borins 2004-06-25 19:09:17 JDBC connection to postgres via SSL