Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id CCA416331AB for ; Fri, 20 Feb 2009 05:40:28 -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 01346-07 for ; Fri, 20 Feb 2009 05:40:24 -0400 (AST) X-Greylist: delayed 00:08:33.806289 by SQLgrey-1.7.6 Received: from smtp.nmset.info (cop60-2-88-163-134-117.fbx.proxad.net [88.163.134.117]) by mail.postgresql.org (Postfix) with ESMTP id CB29D6331A6 for ; Fri, 20 Feb 2009 05:40:24 -0400 (AST) Received: by smtp.nmset.info (Postfix, from userid 65534) id 4E68F98390; Fri, 20 Feb 2009 10:31:45 +0100 (CET) Received: from vos.nmset.info (cop60-2-88-163-134-117.fbx.proxad.net [88.163.134.117]) by smtp.nmset.info (Postfix) with ESMTP id BC5209838E for ; Fri, 20 Feb 2009 10:31:41 +0100 (CET) From: "Saleem EDAH-TALLY" To: pgsql-jdbc@postgresql.org Subject: SSL - Providing client certificates Date: Fri, 20 Feb 2009 10:30:32 +0100 User-Agent: KMail/1.11.0 (Linux/2.6.27.7; KDE/4.2.0; x86_64; ; ) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="Boundary-00=_5gnnJK48M1V9Fz6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902201030.33352.nmset@netcourrier.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.218 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001, RCVD_IN_SORBS_WEB=1.117, RDNS_DYNAMIC=0.1 X-Spam-Level: * X-Archive-Number: 200902/33 X-Sequence-Number: 19308 --Boundary-00=_5gnnJK48M1V9Fz6 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hello, http://jdbc.postgresql.org/documentation/83/ssl-factory.html states : "Specifically it would be nice to be able to provide client certificates to be validated by the server." http://jdbc.postgresql.org/documentation/83/ssl-client.html refers to validating the server's identity only, using javax.net.ssl.trustStore JVM-wide setting. However, if we set javax.net.ssl.keyStore and javax.net.ssl.keyStorePassword, the SSL connection is established and the client certificate is verified. This seems contradictory with the documntation, or I am missing something. I would be happy to read your comments. Thank you. --Boundary-00=_5gnnJK48M1V9Fz6 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit Hello,


http://jdbc.postgresql.org/documentation/83/ssl-factory.html states :


"Specifically it would be nice to be able to provide client certificates to be validated by the server."


http://jdbc.postgresql.org/documentation/83/ssl-client.html refers to validating the server's identity only, using javax.net.ssl.trustStore JVM-wide setting.


However, if we set javax.net.ssl.keyStore and javax.net.ssl.keyStorePassword, the SSL connection is established and the client certificate is verified.


This seems contradictory with the documntation, or I am missing something.


I would be happy to read your comments.


Thank you.

--Boundary-00=_5gnnJK48M1V9Fz6--