From: | Kris Jurka <books(at)ejurka(dot)com> |
---|---|
To: | Andrew Madu <andrewmadu(at)gmail(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: HowTo change keyStore location and KeyStore Password |
Date: | 2006-03-21 01:34:52 |
Message-ID: | Pine.BSO.4.63.0603202030270.19530@leary.csoft.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Aymeric Levaux | 2006-03-21 12:48:43 | Charset issue when storing data |
Previous Message | Kris Jurka | 2006-03-21 01:30:23 | Re: pljava reinitializing pool after every invocation |