Re: pg13 psql can't connect pg instance with ssl enabled after upgrading

From: jian xu <jamesxu(at)outlook(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg13 psql can't connect pg instance with ssl enabled after upgrading
Date: 2021-02-12 23:40:19
Message-ID: DM6PR02MB4572889A58404358C7ADD1CBA18B9@DM6PR02MB4572.namprd02.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

thanks Tom, may I know if there is a way to disable GSS encryption? and only use ssl encryption?
not sure why it worked on pg11, but not on pg13....
does it mean if we use GSS, we are not able to use ssl encryption on pg13?
thanks,
James
________________________________
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Sent: Friday, February 12, 2021 17:59
To: jian xu <jamesxu(at)outlook(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg13 psql can't connect pg instance with ssl enabled after upgrading

jian xu <jamesxu(at)outlook(dot)com> writes:
> Thanks Tom. you are right, we are using GSS authentication. and psql version is 13.1
> postgresql_13_1/bin/psql --version
> psql (PostgreSQL) 13.1

Ah. Then perhaps you want hostgssenc not hostssl in your pg_hba
entries. But I'd definitely recommend an update to 13.2, as it
fixes a number of GSS bugs besides this one.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message jian xu 2021-02-12 23:50:26 Re: pg13 psql can't connect pg instance with ssl enabled after upgrading
Previous Message Tom Lane 2021-02-12 22:59:46 Re: pg13 psql can't connect pg instance with ssl enabled after upgrading