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 DEFB053386 for ; Tue, 5 Apr 2005 02:26:46 +0100 (BST) 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 36497-07 for ; Tue, 5 Apr 2005 01:26:37 +0000 (GMT) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by svr1.postgresql.org (Postfix) with ESMTP id D84A653392 for ; Tue, 5 Apr 2005 02:26:35 +0100 (BST) Received: from web1.messagingengine.com (web1.internal [10.202.2.210]) by frontend1.messagingengine.com (Postfix) with ESMTP id 117D0C70911 for ; Mon, 4 Apr 2005 21:26:39 -0400 (EDT) Received: by web1.messagingengine.com (Postfix, from userid 99) id 12BBB1518; Mon, 4 Apr 2005 21:26:40 -0400 (EDT) Message-Id: <1112664400.30929.231113439@webmail.messagingengine.com> X-Sasl-Enc: wVbNhW8IhzDFJb70fY1Zuz8UlvINif4EQvIW6sRu+LSw 1112664400 From: "Benjamin W. Fisher" To: pgsql-jdbc@postgresql.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) Subject: Re: JBuilder Question In-Reply-To: <1112662082.28469.231111312@webmail.messagingengine.com> Date: Mon, 04 Apr 2005 18:26:40 -0700 References: <1112657855.23386.231106996@webmail.messagingengine.com> <4251D8B7.9080209@attglobal.net> <1112662082.28469.231111312@webmail.messagingengine.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/24 X-Sequence-Number: 12631 Wrote this to drlaz@attglobal.net only on accident, who responded to my original post: On Mon, 04 Apr 2005 17:48:02 -0700, "Benjamin W. Fisher" said: > Thanks. > > I think that is what I needed, for setting those things up in JBuilder. > In the VM parameter field I put in -Djavax.net.ssl.trustStore=mystore > -Djavax.net.ssl.trustStorePassword=mypassword > > I still am not understanding the line I think: > java -Djavax.net.ssl.trustStore=mystore > -Djavax.net.ssl.trustStorePassword=mypassword com.mycompany.MyApp > that I'm getting looking at the docs at > http://jdbc.postgresql.org/documentation/80/ssl-client.html > > Not sure what I'm supposed to do. > > Do you know what I need to do at this point to get SSL working? I can > connect from the command line with psql just fine. Passing the same > addy/port/user/pass/etc options. The JDBC driver is working. I'm > passing the ssl=true property in my connection, but still getting > connection attempt failed. Take ssl off and it's working. > > On Mon, 04 Apr 2005 17:15:51 -0700, "Andrew Lazarus" > said: > > From the JBuilder menu, Run/Configurations/Edit and add the -D flags to > > the VM parameters. (Or was this not what you were asking?) > > > > Benjamin W. Fisher wrote: > > > > >[snip] > > >But the java -Djavax.net.ssl.trustStore=mystore > > >-Djavax.net.ssl.trustStorePassword=mypassword com.mycompany.MyApp I'm > > >not sure how to get in there, since I use JBuilder. I know how to add > > >in required libraries (*.jar) for it, but not sure about this kind of > > >thing. > > > > > >Anyone know how to do this? > > > > > >---------------------------(end of broadcast)--------------------------- > > >TIP 6: Have you searched our list archives? > > > > > > http://archives.postgresql.org > > > > > > > > > > >