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 7A3F453467 for ; Tue, 5 Apr 2005 08:30:43 +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 41728-01 for ; Tue, 5 Apr 2005 07:30:33 +0000 (GMT) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by svr1.postgresql.org (Postfix) with ESMTP id 2C2D653471 for ; Tue, 5 Apr 2005 08:30:31 +0100 (BST) Received: from web1.messagingengine.com (web1.internal [10.202.2.210]) by frontend1.messagingengine.com (Postfix) with ESMTP id 314E9C70B5B for ; Tue, 5 Apr 2005 03:30:32 -0400 (EDT) Received: by web1.messagingengine.com (Postfix, from userid 99) id 3A1482448; Tue, 5 Apr 2005 03:30:32 -0400 (EDT) Message-Id: <1112686232.18387.231128838@webmail.messagingengine.com> X-Sasl-Enc: /CuR4MrIQiEs4b9rg1oDJR42QNdFhjhpVok/DsEh7Dw7 1112686232 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 [SOLVED] In-Reply-To: <1112662082.28469.231111312@webmail.messagingengine.com> Date: Tue, 05 Apr 2005 00:30:32 -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/25 X-Sequence-Number: 12632 Solved my prob. Postgresql docs for client config were a bit misdirecting. I did the two commands that are "if you don't have access to do the above" which screwed it. Also the truststore only accepts absolute paths. 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 > > > > > > > > > > >