Server-side SNI
The server picking its TLS certificate and key by the hostname the client sends via SNI, configured in pg_hosts.conf. Introduced in PostgreSQL 19.
Versions
- PostgreSQL 20 · in-development · new · moderate · 1 commit · +10 / -10 lines
- PostgreSQL 19 · shipped · new · moderate · 4 commits · +1.9k / -116 lines
- PostgreSQL 18 · worked-on · new · moderate
- PostgreSQL 17 · worked-on · new · moderate
Threads
- BUG #19815: 004_sni.pl fails deterministically with OpenSSL 1.1.1 (tests 75 and 86)
- Serverside SNI support in libpq
- pg_hosts: Add pg_hosts_file_rules()
- Use HostsFileName everywhere
- Separators in pg_hosts.conf fields
- pgsql: ssl: Serverside SNI support for libpq
- Extended test coverage and docs for SSL passphrase commands