Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 86DDA632668 for ; Thu, 8 Jul 2010 23:58:44 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 74177-05 for ; Fri, 9 Jul 2010 02:58:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from www.postnewspapers.com.au (www.postnewspapers.com.au [202.4.227.11]) by mail.postgresql.org (Postfix) with ESMTP id 2136C6325BF for ; Thu, 8 Jul 2010 23:58:37 -0300 (ADT) Received: from mail.postnewspapers.com.au (202-89-185-120.static.dsl.amnet.net.au [202.89.185.120]) by www.postnewspapers.com.au (Postfix) with ESMTP id 3D0877924C; Fri, 9 Jul 2010 10:58:27 +0800 (WST) Received: from localhost (localhost [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 31ACFAF3CF; Fri, 9 Jul 2010 10:56:52 +0800 (WST) X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (mail.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Ke7ZN-IJXlp3; Fri, 9 Jul 2010 10:56:46 +0800 (WST) Received: from [10.1.1.3] (124-168-255-56.dyn.iinet.net.au [124.168.255.56]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTPSA id AD3D4AF1D2; Fri, 9 Jul 2010 10:56:46 +0800 (WST) Message-ID: <4C369051.3030308@postnewspapers.com.au> Date: Fri, 09 Jul 2010 10:58:25 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Magnus Hagander CC: pgsql-bugs Subject: Re: [TESTERS] Location of certs -Windows 7 SSL mode? References: <1808543951.199438.1278512926661.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> <4C352585.40206@postnewspapers.com.au> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/51 X-Sequence-Number: 27395 On 8/07/2010 6:31 PM, Magnus Hagander wrote: > On Thu, Jul 8, 2010 at 03:10, Craig Ringer wrote: >> IIRC on Windows client certificates live in >> >> %APPDATA%\.postgresql\ > > That's a typo, it should be %APPDATA%\postgresql\ (no leading period). You're quite right. Sorry - I thought it used .postgresql as it does on *nix, but a quick test confirms that it's: %APPDATA%\postgresql\postgresql.crt %APPDATA%\postgresql\postgresql.key >>> (No one else here is using certs under Windows 7?) >> >> I use client certificates on Windows, but only via a Java app with JDBC, >> so I haven't been too worried about libpq's client cert handling. > > It'd be great if you can check that it works in your environment, > since you clearly have a working server-side and client-in-java env. > If it doesn't work for you, that's a whole lot of thinsg we can rule > out as the culprits then :-) I just set up a test, and it works fine with my win7 test box connecting to a Linux server that requires a client cert to permit connections. -- Craig Ringer