On Sun, Dec 05, 2004 at 12:27:33PM -0700, Michael Fuhr wrote:
> On the client side you could set the PGSSLMODE environment variable
> to "require" (or the older PGREQUIRESSL to "1"), which should tell
> libpq to attempt only SSL connections.
I forgot to mention that you could also use "sslmode=require" or
"requiressl=1" (deprecated in 7.4 and later) in your connect string
if you're using libpq directly or your interface to libpq allows it.
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/