Re: Direct SSL connection with ALPN and HBA rules

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Direct SSL connection with ALPN and HBA rules
Date: 2024-04-30 10:10:38
Message-ID: F1FE761E-EAB0-4C84-96CC-4AB55E44939D@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 29 Apr 2024, at 21:06, Heikki Linnakangas <hlinnaka(at)iki(dot)fi> wrote:

> Oh I was not aware sslrootcert=system works like that. That's a bit surprising, none of the other ssl-related settings imply or require that SSL is actually used. Did we intend to set a precedence for new settings with that?

It was very much intentional, and documented, an sslmode other than verify-full
makes little sense when combined with sslrootcert=system. It wasn't intended
to set a precedence (though there is probably a fair bit of things we can do,
getting this right is hard enough as it is), rather it was footgun prevention.

--
Daniel Gustafsson

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2024-04-30 10:20:54 Re: Removing unneeded self joins
Previous Message Daniel Gustafsson 2024-04-30 09:14:37 Re: [PATCH] Fix bug when calling strncmp in check_authmethod_valid