pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
HowTo change keyStore location and KeyStore Password
2+ messages / 2 participants
[nested] [flat]

* HowTo change keyStore location and KeyStore Password
@ 2006-03-18 13:00 Andrew Madu <andrewmadu@gmail.com>
  2006-03-21 01:34 ` Re: HowTo change keyStore location and KeyStore Password Kris Jurka <books@ejurka.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Andrew Madu @ 2006-03-18 13:00 UTC (permalink / raw)
  To: pgsql-jdbc

Application server -  Jboss 4.0.3SP1
Driver - postgresql-8.1-405.jdbc3
OS - Windows XP (ver. 5.1.2600), Service Pack 2

Hi,
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?

regards



Andrew

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: HowTo change keyStore location and KeyStore Password
  2006-03-18 13:00 HowTo change keyStore location and KeyStore Password Andrew Madu <andrewmadu@gmail.com>
@ 2006-03-21 01:34 ` Kris Jurka <books@ejurka.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Kris Jurka @ 2006-03-21 01:34 UTC (permalink / raw)
  To: Andrew Madu <andrewmadu@gmail.com>; +Cc: 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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-03-21 01:34 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-03-18 13:00 HowTo change keyStore location and KeyStore Password Andrew Madu <andrewmadu@gmail.com>
2006-03-21 01:34 ` Kris Jurka <books@ejurka.com>

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