Re: Making sslrootcert=system work on Windows psql

Поиск
Список
Период
Сортировка
От George MacKerron
Тема Re: Making sslrootcert=system work on Windows psql
Дата
Msg-id B831248A-3285-4A0D-BA48-1A297AAC435C@mackerron.co.uk
обсуждение исходный текст
Ответ на Re: Making sslrootcert=system work on Windows psql  (George MacKerron <george@mackerron.co.uk>)
Ответы Re: Making sslrootcert=system work on Windows psql
Список pgsql-hackers
On 2 Apr 2025, at 14:39, George MacKerron <george@mackerron.co.uk> wrote:
But happily, I don’t think we need to choose. Can’t we just use the Windows system store if neither of the relevant environment variables is set?

Thinking about this a little more, I guess the remaining concern is about people on Windows compiling their own psql from source, using an OpenSSL build that has a meaningful OPENSSLDIR baked in.

I guess that might suggest we should make the "org.openssl.winstore:" code path something users can opt out of (or even, for maximum backwards-compatibility, opt in to) at compile-time.

My preference would be for "org.openssl.winstore:" to be the compile-time default, though, because the option is called sslrootcert=system and it’s documented as using “the system’s trusted CA roots” (not sslrootcert=openssldir or documented as using OpenSSL’s default CA roots).

В списке pgsql-hackers по дате отправления: