Re: [BUGS] More SSL questions.. - Mailing list pgsql-hackers-win32

From Magnus Hagander
Subject Re: [BUGS] More SSL questions..
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE476507@algol.sollentuna.se
Whole thread Raw
Responses Re: [BUGS] More SSL questions..  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers-win32
Builds with the attached patch. Tested the following:

>>>>> Given that decision it seems like the best names are
>>>>>
>>>>> APPDATA/postgresql/pgpass.txt
Works.

>>>>> APPDATA/postgresql/psqlrc.txt
Works.

>>>>> APPDATA/postgresql/psql_history
Does not appear to work. Do I need to do anything to make psql create
this file?
A quick look at input.c makes it seem like this is only used when
READLINE is enabled. And READLINE is disabled on win32 because it
breaks.

>>>>> APPDATA/postgresql/postgresql.crt
>>>>> APPDATA/postgresql/postgresql.key
Not sure exactly how to test these :-(

>>>>> APPDATA/postgresql/root.crt
Works insofar that it prevents me to connect if I put an invalid
certificate in that file, and permits me to connect if I put the correct
cert there. AFAIK, that should be all there is to it :-)


Also verified that it still passes installcheck-parallel.

//Magnus

Attachment

pgsql-hackers-win32 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] More SSL questions..
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] More SSL questions..