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 E5FA6D1B198 for ; Thu, 15 Jul 2004 04:44:55 -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 41531-04 for ; Thu, 15 Jul 2004 07:44:54 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id E1A63D1B1B7 for ; Thu, 15 Jul 2004 04:44:46 -0300 (ADT) Received: (qmail 15103 invoked by uid 1112); 15 Jul 2004 07:44:53 -0000 Date: Thu, 15 Jul 2004 02:44:53 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Stefano Bonnin Cc: pgsql-jdbc@postgresql.org Subject: Re: SSL Problem In-Reply-To: <001601c469a8$87de94f0$0501a8c0@comai04> Message-ID: References: <001601c469a8$87de94f0$0501a8c0@comai04> 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/178 X-Sequence-Number: 10562 On Wed, 14 Jul 2004, Stefano Bonnin wrote: > Hi, I have seen the same problem in the past of this list but I don't > know how (and if) it has been solved. I'm trying to connect my java > stand alone application with postgres 7.4.2 via SSL. > > I followed the istructions ... > http://archives.postgresql.org/pgsql-jdbc/2003-08/msg00110.php ... and > then I tryed an SSL connection with pgAdmin: all works correctly After I > tryed to connect via java and the following error appear on the screen: > > converting regular socket connection to ssl > org.postgresql.util.PSQLException > at org.postgresql.core.PGStream.flush(PGStream.java:415) > at org.postgresql.jdbc1.AbstractJdbc1Connection.openConnectionV3(Abstrac > tJdbc1Connection.java:284) I can't say I've seen this error before. Do you have any other information? The server log might say something about what happened on that end. Kris Jurka