X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E3134D1B1C8 for ; Thu, 22 Jul 2004 12:49:26 -0300 (ADT) 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 05778-10 for ; Thu, 22 Jul 2004 15:49:18 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id C5D4DD1B199 for ; Thu, 22 Jul 2004 12:49:14 -0300 (ADT) Received: (qmail 7182 invoked by uid 1112); 22 Jul 2004 15:46:56 -0000 Date: Thu, 22 Jul 2004 10:46:56 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Phil Moors Cc: pgsql-jdbc List Subject: Re: SSL URL In-Reply-To: <1090509297.1582.7.camel@pm0> Message-ID: References: <1090441973.27063.17.camel@pm0> <1090509297.1582.7.camel@pm0> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/264 X-Sequence-Number: 10648 On Thu, 22 Jul 2004, Phil Moors wrote: > I changed false to true and recompiled. The resulting postgresql.jar > file trips the following errors. I'm using a self signed certificate for > an internal development box. I used the Sun sdk version 1.4.2_05 because > ColdFusion's jre is 1.4.2. > > Connection verification failed for data source: dweb > []java.sql.SQLException: An I/O error has occured while flushing the > output - Exception: javax.net.ssl.SSLHandshakeException: > sun.security.validator.ValidatorException: No trusted certificate found You need to import the certificate into your jvm's trust store, so it can verify that it is talking to the correct server. See: http://archives.postgresql.org/pgsql-jdbc/2003-08/msg00110.php Kris Jurka