Re: HowTo change keyStore location and KeyStore Password - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: HowTo change keyStore location and KeyStore Password
Date
Msg-id Pine.BSO.4.63.0603202030270.19530@leary.csoft.net
Whole thread Raw
In response to HowTo change keyStore location and KeyStore Password  ("Andrew Madu" <andrewmadu@gmail.com>)
List pgsql-jdbc

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

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: pljava reinitializing pool after every invocation
Next
From: Aymeric Levaux
Date:
Subject: Charset issue when storing data