Re: More SSL questions.. - Mailing list pgsql-bugs

From Tom Lane
Subject Re: More SSL questions..
Date
Msg-id 14467.1104821541@sss.pgh.pa.us
Whole thread Raw
In response to Re: More SSL questions..  ("T.J." <tjtoocool@phreaker.net>)
Responses Re: More SSL questions..  ("T.J." <tjtoocool@phreaker.net>)
List pgsql-bugs
"T.J." <tjtoocool@phreaker.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

pgsql-bugs by date:

Previous
From: "T.J."
Date:
Subject: Re: More SSL questions..
Next
From: "T.J."
Date:
Subject: Re: More SSL questions..