Re: SV: SV: SV: SV: Problem with ssl and psql in Postgresql 13

2020-12-23 Thread Tom Lane
I wrote: > Gustavsson Mikael writes: >> So if i set gssencmode=disable on my pgsql-13 to postgres 13 server >> connection i get an SSL connection. > It looks like, if there is a credentials cache and gssencmode isn't > explicitly disabled, we try GSS first. If the server refuses that: > ... > t

Re: SV: SV: SV: SV: Problem with ssl and psql in Postgresql 13

2020-12-23 Thread Tom Lane
Gustavsson Mikael writes: > I did a final test before logging out for Christmas because i found a thread > in hackers discussing some issue with GSS and SSL. > So if i set gssencmode=disable on my pgsql-13 to postgres 13 server > connection i get an SSL connection. Oooh ... that's the missing i

SV: SV: SV: SV: Problem with ssl and psql in Postgresql 13

2020-12-23 Thread Gustavsson Mikael
__ Från: externaly-forwar...@smhi.se för Gustavsson Mikael Skickat: den 22 december 2020 09:07:17 Till: Tom Lane Kopia: Magnus Hagander; Kyotaro Horiguchi; pgsql-gene...@postgresql.org; Svensson Peter Ämne: SV: SV: SV: SV: Problem with ssl and psql in Postgresql 13 Hi, Yes it´

SV: SV: SV: SV: Problem with ssl and psql in Postgresql 13

2020-12-22 Thread Gustavsson Mikael
Jul as we say in Sweden. KR Mikael Gustavsson, SMHI Från: Tom Lane Skickat: den 18 december 2020 21:02:50 Till: Gustavsson Mikael Kopia: Magnus Hagander; Kyotaro Horiguchi; pgsql-gene...@postgresql.org; Svensson Peter Ämne: Re: SV: SV: SV: Problem with ssl and

Re: SV: SV: SV: Problem with ssl and psql in Postgresql 13

2020-12-18 Thread Tom Lane
Gustavsson Mikael writes: > pgsql-13 with require: > $ /usr/pgsql-13/bin/psql "dbname=postgres user=kalle host=server > sslmode=require" > Password for user kalle: > psql (13.1) > Type "help" for help. That is just bizarre. libpq should not ignore the sslmode=require option like that, unless it

SV: SV: SV: Problem with ssl and psql in Postgresql 13

2020-12-18 Thread Gustavsson Mikael
för Gustavsson Mikael Skickat: den 17 december 2020 17:33:13 Till: Tom Lane Kopia: Magnus Hagander; Kyotaro Horiguchi; pgsql-gene...@postgresql.org; Svensson Peter Ämne: SV: SV: SV: Problem with ssl and psql in Postgresql 13 Here is the result. ldd /usr/pgsql-13/bin/psql linux-vdso.so.1 (

SV: SV: SV: Problem with ssl and psql in Postgresql 13

2020-12-17 Thread Gustavsson Mikael
Here is the result. ldd /usr/pgsql-13/bin/psql linux-vdso.so.1 (0x7ffd714d5000) libpq.so.5 => /usr/pgsql-13/lib/libpq.so.5 (0x7f2d1700a000) libpthread.so.0 => /lib64/libpthread.so.0 (0x7f2d16dea000) libreadline.so.7 => /lib64/libreadline.so.7 (0x7f2d16b9b000) libm.so.6 => /lib64/li