pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew M <andrew@jibeya.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-jdbc@postgresql.org
Subject: Re: SSL confirmation - (could not accept SSL connection:
Date: Mon, 06 Dec 2004 18:19:47 -0500
Message-ID: <7625.1102375187@sss.pgh.pa.us> (raw)
In-Reply-To: <F9BE447E-47DA-11D9-870C-0003938366A4@jibeya.com>
References: <87k6rwiq2a.fsf@gate450.dyndns.org>
	<20041205182757.GA46671@winnie.fuhr.org>
	<20041205190233.GA31145@gp.word-to-the-wise.com>
	<20041205192733.GA4596@winnie.fuhr.org>
	<20041205194134.GA31951@winnie.fuhr.org>
	<48FFB86A-46F9-11D9-8BA6-0003938366A4@jibeya.com>
	<20041205203912.GA46867@winnie.fuhr.org>
	<43D42015-46FF-11D9-8BA6-0003938366A4@jibeya.com>
	<20041205210011.GB47040@winnie.fuhr.org>
	<1F679E49-4702-11D9-8BA6-0003938366A4@jibeya.com>
	<20041205232912.GA47258@winnie.fuhr.org>
	<87zn0s8ft7.fsf@asmodeus.mcnaught.org>
	<DF787AD8-4728-11D9-A1CE-0003938366A4@jibeya.com>
	<1BBEB92A-4775-11D9-BC58-0003938366A4@jibeya.com>
	<Pine.BSO.4.56.0412060720210.11059@leary.csoft.net>
	<C721A366-47BD-11D9-8DF8-0003938366A4@jibeya.com>
	<Pine.BSO.4.56.0412061450560.27227@leary.csoft.net>
	<E0E6B86C-47C4-11D9-980B-0003938366A4@jibeya.com>
	<7222.1102372274@sss.pgh.pa.us>
	<F9BE447E-47DA-11D9-870C-0003938366A4@jibeya.com>

Andrew M <andrew@jibeya.com> writes:
> below is a breakdown of the problems i am experiencing with SSL
> ...
> Caused by: javax.net.ssl.SSLHandshakeException:  
> sun.security.validator.ValidatorException: No truste
> d certificate found

It would appear that either you didn't put a root certificate into the
server's $PGDATA/root.crt file, or the server certificate you put into
$PGDATA/server.crt isn't signed by any of the CAs that the client code
thinks are trusted.  I have no idea where the javax.net.ssl library
looks for trusted certs; possibly you could find someone more clueful
about that on pgsql-jdbc.

			regards, tom lane



view thread (6+ messages)

Message-ID: <7625.1102375187@sss.pgh.pa.us>
Permalink:  ../7625.1102375187@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7625.1102375187@sss.pgh.pa.us

 · 

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-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andrew@jibeya.com, pgsql-general@postgresql.org
  Subject: Re: SSL confirmation - (could not accept SSL connection:
  In-Reply-To: <7625.1102375187@sss.pgh.pa.us>
  References: <87k6rwiq2a.fsf@gate450.dyndns.org> <20041205182757.GA46671@winnie.fuhr.org> <20041205190233.GA31145@gp.word-to-the-wise.com> <20041205192733.GA4596@winnie.fuhr.org> <20041205194134.GA31951@winnie.fuhr.org> <48FFB86A-46F9-11D9-8BA6-0003938366A4@jibeya.com> <20041205203912.GA46867@winnie.fuhr.org> <43D42015-46FF-11D9-8BA6-0003938366A4@jibeya.com> <20041205210011.GB47040@winnie.fuhr.org> <1F679E49-4702-11D9-8BA6-0003938366A4@jibeya.com> <20041205232912.GA47258@winnie.fuhr.org> <87zn0s8ft7.fsf@asmodeus.mcnaught.org> <DF787AD8-4728-11D9-A1CE-0003938366A4@jibeya.com> <1BBEB92A-4775-11D9-BC58-0003938366A4@jibeya.com> <Pine.BSO.4.56.0412060720210.11059@leary.csoft.net> <C721A366-47BD-11D9-8DF8-0003938366A4@jibeya.com> <Pine.BSO.4.56.0412061450560.27227@leary.csoft.net> <E0E6B86C-47C4-11D9-980B-0003938366A4@jibeya.com> <7222.1102372274@sss.pgh.pa.us> <F9BE447E-47DA-11D9-870C-0003938366A4@jibeya.com> <7625.1102375187@sss.pgh.pa.us>

* 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