From: Kris Jurka <books@ejurka.com>
To: Andrew Madu <andrewmadu@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: HowTo change keyStore location and KeyStore Password
Date: Mon, 20 Mar 2006 20:34:52 -0500 (EST)
Message-ID: <Pine.BSO.4.63.0603202030270.19530@leary.csoft.net> (raw)
In-Reply-To: <ede9a1830603180500rb4425a0ob44ed352cde8ef91@mail.gmail.com>
References: <ede9a1830603180500rb4425a0ob44ed352cde8ef91@mail.gmail.com>
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
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: books@ejurka.com, andrewmadu@gmail.com
Subject: Re: HowTo change keyStore location and KeyStore Password
In-Reply-To: <Pine.BSO.4.63.0603202030270.19530@leary.csoft.net>
References: <ede9a1830603180500rb4425a0ob44ed352cde8ef91@mail.gmail.com> <Pine.BSO.4.63.0603202030270.19530@leary.csoft.net>
* 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