Re: Feature Request: Option for TLS no SSLRequest with psql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: AJ ONeal <coolaj86(at)proton(dot)me>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Feature Request: Option for TLS no SSLRequest with psql
Date: 2024-05-11 15:59:04
Message-ID: 7168.1715443144@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

AJ ONeal <coolaj86(at)proton(dot)me> writes:
> Could we get a `postgrestls://` or `sslmode=tls` or --tls option that instructs psql​ to sends straight TLS, skipping the 0000000804d2162f / 0000000804d21630 + N / Y / S handshake?

You're too late:

https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=d39a49c1e4

(and likewise too late about ALPN).

You might however care to weigh in on the ongoing argument about what
the libpq connection options controlling this should do (but not on
this list):

https://www.postgresql.org/message-id/flat/ad45965c-8b95-4bde-bf05-509ab6fccf96%40iki.fi

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2024-05-11 15:59:36 Re: Feature Request: Option for TLS no SSLRequest with psql
Previous Message AJ ONeal 2024-05-11 15:34:02 Feature Request: Add "pg" as TLS-ALPN