X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 3983D9DC9A3 for ; Mon, 20 Mar 2006 21:34:51 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 31502-07 for ; Mon, 20 Mar 2006 21:34:54 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by postgresql.org (Postfix) with SMTP id D6E809DC980 for ; Mon, 20 Mar 2006 21:34:48 -0400 (AST) Received: (qmail 12437 invoked by uid 1112); 21 Mar 2006 01:34:52 -0000 Date: Mon, 20 Mar 2006 20:34:52 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Andrew Madu cc: pgsql-jdbc@postgresql.org Subject: Re: HowTo change keyStore location and KeyStore Password In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.118 required=5 tests=[AWL=0.118] X-Spam-Score: 0.118 X-Spam-Level: X-Archive-Number: 200603/85 X-Sequence-Number: 14866 On Sat, 18 Mar 2006, Andrew Madu wrote: > Application server - Jboss 4.0.3SP1 > Driver - postgresql-8.1-405.jdbc3 > OS - Windows XP (ver. 5.1.2600), Service Pack 2 > > How do I configure my postgreSQL driver, postgresql-8.1-405.jdbc3, so that I > can point set a keyStore of my choice? For example what I want to do is > something like this: > > > javax.net.ssl.keyStore = "c:\Program > Files\Java\jre1.5.0_06\lib\security\cacerts" > > javax.net.ssl.keyStorePassword = "changeit" > > Is there a postgresql.properties file I can create which can do this? If so, > what is the syntax to acheive this? > Setting these parameters exclusively for the JDBC driver is not possible. It picks up the values that the JVM was started with, so perhaps you can adjust the JBoss startup and use -D to set these parameters. Kris Jurka