Re: TLS session tickets disabled? - Mailing list pgsql-bugs

From Cameron Vogt
Subject Re: TLS session tickets disabled?
Date
Msg-id DM6PR16MB31455B7F25D9A788B1C0EF17AB872@DM6PR16MB3145.namprd16.prod.outlook.com
Whole thread Raw
In response to TLS session tickets disabled?  (Cameron Vogt <cvogt@automaticcontrols.net>)
Responses Re: TLS session tickets disabled?
List pgsql-bugs
Update: I found an old NpgSQL thread at https://github.com/npgsql/npgsql/issues/576 that discusses this issue in more detail. This thread suggests adding "UseSslStream=false" to the connection string. I tested this, and now NpgSQL 4.0.10 works with PostgreSQL 16.4. Unfortunately, I cannot control the connection string Power BI uses to connect to my PostgreSQL database, but I suppose recompiling NpgSQL 4.0.10 with that option disabled by default would work. I've read in a couple places that this issue only occurs when ssl_ca_file is set, and I can confirm that my PostgreSQL server has this. So configuring ssl_ca_file may be important for anyone wishing to reproduce the issue.

I don't know enough about TLS handshakes and session tickets to know where the bug truly lies (PostgreSQL/OpenSSL vs .NET's SslStream).

Cameron Vogt | Software Developer
Direct: 314-756-2302 | Cell: 636-388-2050
1585 Fencorp Drive | Fenton, MO 63026
Automatic Controls Equipment Systems, Inc.

pgsql-bugs by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: Certain options in pg_upgrade don't seem to work.
Next
From: David Rowley
Date:
Subject: Re: BUG #18558: ALTER PUBLICATION fails with unhelpful error on attempt to use system column