X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DCA8E3A6423 for ; Sat, 11 Dec 2004 20:12:19 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 34663-08 for ; Sat, 11 Dec 2004 20:12:12 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id 85B053A6415 for ; Sat, 11 Dec 2004 20:12:12 +0000 (GMT) Received: (qmail 8492 invoked by uid 1112); 11 Dec 2004 20:13:34 -0000 Date: Sat, 11 Dec 2004 15:13:34 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Andrew M Cc: pgsql-jdbc@postgresql.org Subject: Re: PostgreSQL + SSL - sun.security.validator.ValidatorException In-Reply-To: <635C5E46-4B8C-11D9-A341-0003938366A4@jibeya.com> Message-ID: References: <73F89B04-47E1-11D9-870C-0003938366A4@jibeya.com> <200412071137.04871@vadim.nasardinov> <200412080837.57840@vadim.nasardinov> <8205B1BB-497B-11D9-870C-0003938366A4@jibeya.com> <41BAABA2.9070100@hogranch.com> <431C280A-4B5E-11D9-A341-0003938366A4@jibeya.com> <500DB76A-4B7D-11D9-A341-0003938366A4@jibeya.com> <7BF17482-4B7F-11D9-A341-0003938366A4@jibeya.com> <635C5E46-4B8C-11D9-A341-0003938366A4@jibeya.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.024 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/93 X-Sequence-Number: 11759 On Sat, 11 Dec 2004, Andrew M wrote: > so the best I can do at the moment, in terms of ssl on postgresql via > JDBC, is to use an unauthenticated connection!? Is man in the middle a > real concern, as the data in the tables will be encrypted? No, it's not unauthenticed. We authenticate the server certificate, but not a client certificate. This is exactly like browsing to a https website. You validate the server's certificate, checking that they are who they say they are, but you don't send the web server a client certificate. This means the web server, or in our case the postgresql server, cannot verify that you are who you say are from the ssl connection alone, but there are other means of doing this, like a password. Kris Jurka