Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id D01E063862E for ; Fri, 20 Feb 2009 13:29:49 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 01258-03 for ; Fri, 20 Feb 2009 13:29:42 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail.postgresql.org (Postfix) with ESMTP id C445B63862A for ; Fri, 20 Feb 2009 13:29:42 -0400 (AST) Received: by leary.csoft.net (Postfix, from userid 1112) id 5EE8FACA6; Fri, 20 Feb 2009 12:29:40 -0500 (EST) Date: Fri, 20 Feb 2009 12:29:39 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Saleem EDAH-TALLY cc: pgsql-jdbc@postgresql.org Subject: Re: SSL - Providing client certificates In-Reply-To: <200902201030.33352.nmset@netcourrier.com> Message-ID: References: <200902201030.33352.nmset@netcourrier.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200902/37 X-Sequence-Number: 19312 On Fri, 20 Feb 2009, Saleem EDAH-TALLY wrote: > However, if we set javax.net.ssl.keyStore and javax.net.ssl.keyStorePassword, > the SSL connection is established and the client certificate is verified. > When the code was first written, this wasn't tested and it was just assumed that it wouldn't work. Recently we got a report that it did work, but the documentation was not updated. What I don't understand is how it selects the certificate to send. If you have multiple keys in your keystore, how do you indicate which one to use? Kris Jurka