Re: BUG #5008: Server Startup Problem - When server is configured for SSL - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: BUG #5008: Server Startup Problem - When server is configured for SSL
Date
Msg-id 9837222c0908270845u7043bcebu5efb33caa3a14efb@mail.gmail.com
Whole thread Raw
In response to Re: BUG #5008: Server Startup Problem - When server is configured for SSL  (Jalaj Negi <jalajsinghnegi@gmail.com>)
List pgsql-bugs
2009/8/27 Jalaj Negi <jalajsinghnegi@gmail.com>:
> Hi,
> I tried by setting the requirement for certificates only on non-localhost addresses. It works perfectly fine in that
case.
> Whats the solution in case of requesting client certificates on localhost connection?
>
> One temporary solution I found for above question is to set PGSSLCERT, PGSSLKEY, PGSSLROOTCERT, PGSSLCRL
> as system environment variables and let them point to valid client certificate, key, root certificate and crl. Then I
rebooted
> my windows machine and database server started perfectly fine.
> Is this solution fine or some fix is needed in code?

I think that qualifies as a workaround, but we need to find a proper
solution. If that takes an API change (the discussions about a "ping"
function), that's not going to be until 8.5 though.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: fillfactor hides autovacuum parameters in 8.4.0
Next
From: Magnus Hagander
Date:
Subject: Re: BUG #5016: dlltool error in libecpg_compatdll.def