Re: More SSL questions..

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "T(dot)J(dot)" <tjtoocool(at)phreaker(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: More SSL questions..
Date: 2005-01-04 06:52:21
Message-ID: 14467.1104821541@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers-win32

"T.J." <tjtoocool(at)phreaker(dot)net> writes:
> Not to my knowledge. By the way, for future reference on windows it
> looks for the cert/key in the linux equivalent of
> `pwd`/.postgresql/postgresql.crt/key, instead of
> $HOME/.postgresql/postgresql.crt/key.

Actually, it asks getpwuid() for the user's home directory,
rather than looking for an environment variable named HOME.
See client_cert_cb() in fe-secure.c.

This could probably be documented better, but I'm not sure how.
The average user is even less likely to be familiar with getpwuid()
than $HOME, so it doesn't seem like referencing that library function
is much of an improvement.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Aguinaldo Possatto 2005-01-04 11:25:16 BUG #1371: Short-circuit evaluation on PL/PgSQL
Previous Message T.J. 2005-01-04 06:41:52 Re: More SSL questions..

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Magnus Hagander 2005-01-04 09:21:46 Re: Any chance of a merge module?
Previous Message T.J. 2005-01-04 06:41:52 Re: More SSL questions..