pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stefano Bonnin <stefano.bonnin@comai.to>
To: pgsql-jdbc@postgresql.org
Subject: Re: SSL Problem
Date: Thu, 15 Jul 2004 16:11:35 +0200
Message-ID: <011001c46a75$a35633f0$0501a8c0@comai04> (raw)
References: <001601c469a8$87de94f0$0501a8c0@comai04>
	<Pine.BSO.4.56.0407150242310.25406@leary.csoft.net>
	<005401c46a50$b59e60c0$0501a8c0@comai04>
	<Pine.BSO.4.56.0407150836240.14111@leary.csoft.net>


ok,thanks
but now, do you have any idea?

in the previuos e-mail I sent you only the server error now I send you the
server log messages at postgres startup time:

2004-07-15 14:03:40 LOG:  could not load root certificate file
"/usr/local/pgsql-7.4.2/bin/../../pgsql-7.4.1/data/root.crt": No such file
or directory
DETAIL:  Will not verify client certificates.
2004-07-15 14:03:40 LOG:  could not create IPv6 socket: Famiglia
dell'indirizzo non gestita dal protocollo
2004-07-15 14:03:40 LOG:  database system was shut down at 2004-07-15
14:03:40 CEST
2004-07-15 14:03:40 LOG:  checkpoint record is at 11/F6DC6DB4
2004-07-15 14:03:40 LOG:  redo record is at 11/F6DC6DB4; undo record is at
0/0; shutdown TRUE
2004-07-15 14:03:40 LOG:  next transaction ID: 27829164; next OID: 45696008
2004-07-15 14:03:40 LOG:  database system is ready

It doesn't find any root.crt, this is right, I think.

Thanks in advance.

RedS

----- Original Message ----- 
From: "Kris Jurka" <books@ejurka.com>
To: "Stefano Bonnin" <stefano.bonnin@comai.to>
Cc: <pgsql-jdbc@postgresql.org>
Sent: Thursday, July 15, 2004 3:40 PM
Subject: Re: [JDBC] SSL Problem


>
>
> On Thu, 15 Jul 2004, Stefano Bonnin wrote:
> > keytool -keystore
/usr/local/j2sdk1.4.2_04/jre/lib/security/cacerts -alias
> > postgres -import -file server.crt.der
> >
> > What I did't undestand in this steps is the following:
> >
> > keytool -keystore ... etc ...
> >
> > import the certificate in the java keystore and the JDBC driver *must*
find
> > the certificate in the keystore and download it on the client, is't
true? (I
> > dont't know if this is true) BUT if my affermation is true HOW the JDBC
> > driver (on the client) can find it in
> > /usr/local/j2sdk1.4.2_04/jre/lib/security?
>
> The certificate must be available to the client.  There is no "find and
> download" going on.  These instructions were likely written for the client
> on the same machine as the server so it was not emphasized that the cert
> needs to be available to the client JVM.
>
> Kris Jurka
>




view thread (10+ messages)  latest in thread

Message-ID: <011001c46a75$a35633f0$0501a8c0@comai04>
Permalink:  ../011001c46a75$a35633f0$0501a8c0@comai04/
Also on:    postgresql.org/message-id/011001c46a75$a35633f0$0501a8c0@comai04

 · 

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: stefano.bonnin@comai.to
  Subject: Re: SSL Problem
  In-Reply-To: <011001c46a75$a35633f0$0501a8c0@comai04>
  References: <001601c469a8$87de94f0$0501a8c0@comai04> <Pine.BSO.4.56.0407150242310.25406@leary.csoft.net> <005401c46a50$b59e60c0$0501a8c0@comai04> <Pine.BSO.4.56.0407150836240.14111@leary.csoft.net> <011001c46a75$a35633f0$0501a8c0@comai04>

* 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