X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DAD8A3A605D; Mon, 6 Dec 2004 23:19:59 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 21675-05; Mon, 6 Dec 2004 23:19:47 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 6B5183A602F; Mon, 6 Dec 2004 23:19:48 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id iB6NJlN4007626; Mon, 6 Dec 2004 18:19:47 -0500 (EST) To: Andrew M Cc: pgsql-general@postgresql.org, pgsql-jdbc@postgresql.org Subject: Re: SSL confirmation - (could not accept SSL connection: In-reply-to: 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> <1BBEB92A-4775-11D9-BC58-0003938366A4@jibeya.com> <7222.1102372274@sss.pgh.pa.us> Comments: In-reply-to Andrew M message dated "Mon, 06 Dec 2004 23:03:00 +0000" Date: Mon, 06 Dec 2004 18:19:47 -0500 Message-ID: <7625.1102375187@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.318 tagged_above=0 required=5 tests=AWL, URIBL_SBL X-Spam-Level: X-Archive-Number: 200412/388 X-Sequence-Number: 70000 Andrew M 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