v9.0 beta clients - on Windows 7 - do not pick up SSL ENVIRONMENT VARIABLES?

From: Lou Picciano <LouPicciano(at)comcast(dot)net>
To: pgsql-testers(at)postgresql(dot)org
Subject: v9.0 beta clients - on Windows 7 - do not pick up SSL ENVIRONMENT VARIABLES?
Date: 2010-07-08 21:18:38
Message-ID: 6BFA9A56-3532-4F6A-BE92-78CFC1140068@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-testers

[TEST REPORT]
[Release]: 9.0Beta2 (Server) - 9.0Beta1 (Client-pgAdmin)
[Test Type]: Windows 7 SSL Certificate Connection Testing
[Test]: Attempted to connect with SSL certs in various directories, mediated by Windows environment variables.
[Platform]: Servers: Sun 4u Solaris 10 - Enterprise 450 Quad Client: Windows 7
[Parameters]: Varied location of postgresql.crt, postgresql.key and root.crt, reflecting changes in Windows ENV variables: PGSSLCERT, PGSSLKEY and PGSSLROOTCERT.
Server host-based access is hostssl, certificate-only.
We've tried placing certs in various locations in the directory tree, including at tree root: C:\postgresql.crt, etc.
Using ENVIRONMENT variables, we've successfully directed pgAdmin to look there.
[Failure]: Yes.
[Results]: Still, pgAdmin reports: could not open certificate file: C:\postgresql.crt (same error message in locations: C:\Users and C:\Users\Danny Database\AppData\Roaming - but note earlier Test report on strangely-formatted error message in this last case)
[Comments]: Purpose here is really only: Determine the correct _default_ locations for client certs under Windows 7. My mechanism for doing this was to attempt a connection - fully expecting an error message - and to then work backwards from there to place the certs.

Browse pgsql-testers by date

  From Date Subject
Next Message Craig Ringer 2010-07-09 02:58:25 Re: [TESTERS] Location of certs -Windows 7 SSL mode?
Previous Message Magnus Hagander 2010-07-08 10:34:24 Re: [TESTERS] Location of certs -Windows 7 SSL mode?