pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Benjamin W. Fisher <kurasoe@fastmail.fm>
To: pgsql-jdbc@postgresql.org
Subject: Re: JBuilder Question [SOLVED]
Date: Tue, 05 Apr 2005 00:30:32 -0700
Message-ID: <1112686232.18387.231128838@webmail.messagingengine.com> (raw)
In-Reply-To: <1112662082.28469.231111312@webmail.messagingengine.com>
References: <1112657855.23386.231106996@webmail.messagingengine.com>
	<4251D8B7.9080209@attglobal.net>
	<1112662082.28469.231111312@webmail.messagingengine.com>

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"
<kurasoe@fastmail.fm> 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"
> <drlaz@attglobal.net> 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
> > >
> > >  
> > >
> > 



Message-ID: <1112686232.18387.231128838@webmail.messagingengine.com>
Permalink:  ../1112686232.18387.231128838@webmail.messagingengine.com/
Also on:    postgresql.org/message-id/1112686232.18387.231128838@webmail.messagingengine.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: kurasoe@fastmail.fm
  Subject: Re: JBuilder Question [SOLVED]
  In-Reply-To: <1112686232.18387.231128838@webmail.messagingengine.com>
  References: <1112657855.23386.231106996@webmail.messagingengine.com> <4251D8B7.9080209@attglobal.net> <1112662082.28469.231111312@webmail.messagingengine.com> <1112686232.18387.231128838@webmail.messagingengine.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox