Re: [PATCH] Add `verify-system` sslmode to use system CA pool for server cert
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: thomas@habets.se, pgsql-hackers@postgresql.org
Date: 2021-09-07T16:48:27Z
Lists: pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes: > You don't have to copy anything to achieve what you want. Just set the > sslrootcert parameter of your connection to point to the system file. e.g. > psql "sslmode=verify-full sslrootcert=/etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt ..." While that does work for me, it seems pretty OS-specific and user-unfriendly. Why should ordinary users need to know that much about their platform's OpenSSL installation? regards, tom lane
Commits
-
ci: Remove OpenSSL 3.1 workaround for missing system CA
- c5e4ec293ea5 16.0 landed
-
Fix errormessage for missing system CA in OpenSSL 3.1
- 0b5d1fb36add 16.0 landed
-
Add MacPorts support to src/test/ldap tests.
- 9517e6e1dd60 11.20 landed
-
Allow to use system CA pool for certificate verification
- 8eda73146527 16.0 landed