From: Donald Fraser <postgres@kiwi-fraser.net>
To: [JDBC] <pgsql-jdbc@postgresql.org>
Subject: Re: SSL - NonValidatingFactory
Date: Fri, 24 Jul 2009 21:35:59 +0100
Message-ID: <06A1A99816A8447CBC59B1F54CA93286@Demolish2> (raw)
References: <mnet1.1248425326.6422.nmset@netcourrier.com>
<alpine.BSO.2.00.0907241116210.7577@leary.csoft.net>
<200907242057.28458.nmset@netcourrier.com>
----- Original Message -----
From: Saleem EDAH-TALLY
>OK, that's a clear explanation.
>I don't know if devs on this forum are server devs too. I would suggest
>that irrespective of the presence of a server trusted cert (root.crt) that
>the server be usable by the client, as his any time choice, for
>encryption only and/or server/client authentication. Other RDBMS allow
>that : Oracle, Apache Derby and MySQL.
>Although traffic encryption only raises security concerns, it may be
>helpful in some limited cases.
Can I just say my two cents worth.
I think what you want is server authentication, which is achieved with
server certificates. That is a server.crt and server.key files in the data
directory of the server.
The client can choose, if configured correctly in pg_hba.conf, whether they
want to connect with ssl or not and this is when you might want the
NonValidatingFactory, which I would guess means you don't need the server's
public key certificate in the Java key store to validate against.
Regards
Donald
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: postgres@kiwi-fraser.net
Subject: Re: SSL - NonValidatingFactory
In-Reply-To: <06A1A99816A8447CBC59B1F54CA93286@Demolish2>
References: <mnet1.1248425326.6422.nmset@netcourrier.com> <alpine.BSO.2.00.0907241116210.7577@leary.csoft.net> <200907242057.28458.nmset@netcourrier.com> <06A1A99816A8447CBC59B1F54CA93286@Demolish2>
* 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