Re: [TESTERS] Location of certs -Windows 7 SSL mode?

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: [TESTERS] Location of certs -Windows 7 SSL mode?
Date: 2010-07-09 02:58:25
Message-ID: 4C369051.3030308@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-testers

On 8/07/2010 6:31 PM, Magnus Hagander wrote:
> On Thu, Jul 8, 2010 at 03:10, Craig Ringer<craig(at)postnewspapers(dot)com(dot)au> 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Craig Ringer 2010-07-09 03:01:13 Re: BUG #5546: not able to connect to postgres through the oracle using
Previous Message Robert Haas 2010-07-09 02:29:23 Re: BUG #5542: Query optimization problem

Browse pgsql-testers by date

  From Date Subject
Next Message Magnus Hagander 2010-07-09 17:17:59 Re: [TESTERS] Location of certs -Windows 7 SSL mode?
Previous Message Lou Picciano 2010-07-08 21:18:38 v9.0 beta clients - on Windows 7 - do not pick up SSL ENVIRONMENT VARIABLES?