pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: Andrew M <andrew@jibeya.com>
Cc: pgsql-jdbc@postgresql.org
Cc: Kris Jurka <books@ejurka.com>
Subject: Re: PostgreSQL + SSL - sun.security.validator.ValidatorException
Date: Sat, 11 Dec 2004 09:37:16 -0800
Message-ID: <41BB304C.30009@hogranch.com> (raw)
In-Reply-To: <431C280A-4B5E-11D9-A341-0003938366A4@jibeya.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>
	<431C280A-4B5E-11D9-A341-0003938366A4@jibeya.com>

> The only problem with this is, how do you copy an openssl {key|crt} pair 
> into a keytool keystore? Importing the crt into a keystore is not a 
> problem as long as the crt is in x509 format, but the key poses a 
> problem as the x509 format only handles trusted certificates.

When I created SSL certs for a internal webserver, I created my own root 
certificate with the openssl tools, installed that in the server and client 
trusted stores as a trusted RA, then used that root certificate to generate all 
my other keys, which were then treated as trusted.   To get new browser clients 
to trust this RA cert, I had it available on a link off my home page, the user 
simply had to click on the link, they'd get a certificate trust message, and 
they click 'always trust', and the browser adds the cert to the root authority 
list.

I would have to assume something similar can be done with java, and in fact, am 
about to figure it out at work, since we need to do some SSL between a 
standalone java application and a tomcat server.




view thread (25+ messages)  latest in thread

Message-ID: <41BB304C.30009@hogranch.com>
Permalink:  ../41BB304C.30009@hogranch.com/
Also on:    postgresql.org/message-id/41BB304C.30009@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, andrew@jibeya.com, books@ejurka.com
  Subject: Re: PostgreSQL + SSL - sun.security.validator.ValidatorException
  In-Reply-To: <41BB304C.30009@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> <431C280A-4B5E-11D9-A341-0003938366A4@jibeya.com> <41BB304C.30009@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