pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: Kris Jurka <books@ejurka.com>
Cc: Andrew M <andrew@jibeya.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: PostgreSQL + SSL - sun.security.validator.ValidatorException
Date: Sat, 11 Dec 2004 00:11:14 -0800
Message-ID: <41BAABA2.9070100@hogranch.com> (raw)
In-Reply-To: <Pine.BSO.4.56.0412102018080.31603@leary.csoft.net>
References: <73F89B04-47E1-11D9-870C-0003938366A4@jibeya.com>
	<200412071137.04871@vadim.nasardinov>
	<C8726946-4900-11D9-870C-0003938366A4@jibeya.com>
	<200412080837.57840@vadim.nasardinov>
	<8205B1BB-497B-11D9-870C-0003938366A4@jibeya.com>
	<Pine.BSO.4.56.0412102018080.31603@leary.csoft.net>

> It uses specific files relative to the user's $HOME directory.  I don't 
> think this translates well into Java and I'm unsure what code would be 
> needed on the driver side to set this up.  It would be great if someone 
> more Java+SSL knowledgeable could point us in the right direction here.

if the jdbc driver is using J2SE 1.4 style SecureSockets, then the certificate 
store is in ${JAVA_HOME}/lib/security  (%JAVA_HOME%\lib\security on Windows)

there is a keytool command in J2SE to manipuate and generate these keys.
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/keytool.html




view thread (25+ messages)  latest in thread

Message-ID: <41BAABA2.9070100@hogranch.com>
Permalink:  ../41BAABA2.9070100@hogranch.com/
Also on:    postgresql.org/message-id/41BAABA2.9070100@hogranch.com

 · 

reply

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: pierce@hogranch.com, books@ejurka.com, andrew@jibeya.com
  Subject: Re: PostgreSQL + SSL - sun.security.validator.ValidatorException
  In-Reply-To: <41BAABA2.9070100@hogranch.com>
  References: <73F89B04-47E1-11D9-870C-0003938366A4@jibeya.com> <200412071137.04871@vadim.nasardinov> <C8726946-4900-11D9-870C-0003938366A4@jibeya.com> <200412080837.57840@vadim.nasardinov> <8205B1BB-497B-11D9-870C-0003938366A4@jibeya.com> <Pine.BSO.4.56.0412102018080.31603@leary.csoft.net> <41BAABA2.9070100@hogranch.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