From: Eyal Edri <eedri@redhat.com>
To: pgsql-jdbc@postgresql.org
Subject: PgJDBC - Using certificate auth with jboss & postgres
Date: Tue, 28 Jun 2011 11:00:22 -0400 (EDT)
Message-ID: <022601cc35a4$1780fde0$4682f9a0$@redhat.com> (raw)
Hi,
I'm trying to make postgres and jboss work together using certificate
authentication method and SSL.
I've read some recent posts that this functionality is going to
implemented (?) but I couldn't find documentation about how to implement
it.
We're using postgres 8.4.7 under rhel 6 and the datasource file
'postgres-ds.xml' for jboss comm with pg over jdbc.
I was able to communicate with postgres with 'psql -h localhost -d
postgres -U postgres' (after creating the server/client certs and keys and
setting the auth
To 'cert' in pg_hba.conf'.
What I couldn't find out is how (if possible) to tell jboss(in
postgres-ds.xml) to use a keystore in order to find the certs it needs to
connect.
Also, if it's possible to define an alias property, so it can access the
relevant certificate in the keystore.
Thanks,
Eyal Edri
Redhat.
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: eedri@redhat.com
Subject: Re: PgJDBC - Using certificate auth with jboss & postgres
In-Reply-To: <022601cc35a4$1780fde0$4682f9a0$@redhat.com>
References: <022601cc35a4$1780fde0$4682f9a0$@redhat.com>
* 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