~/talk

Serverside SNI in PostgreSQL 19

Talkat PGConf.dev 2026 · 2026-05-19..05-22· [security, databases]
links:none on file
links:none on file
slides:none on file

Server-side SNI lands in Postgres 19 as a committed feature that lets the server read clients' sslsni and select certificate, key and CA per hostname using a new SSL SNI GUC and a pg_hba.conf SNI table. It preloads OpenSSL contexts so handshakes avoid file I O, matches literal case-insensitive hostnames (with a '*' default and a special no_SNI keyword), applies CRLs cluster-wide, works with OpenSSL 1.1.1+ (not LibreSSL), and currently exposes SNI during an unencrypted client hello so ECH support is still future work.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:08What is SNI and why it matters
  3. 3:58Security limitations of SNI
  4. 5:25Client-side SNI in PostgreSQL history
  5. 6:49Server-side SNI in PostgreSQL 19
  6. 7:30Configuration and pg_hba changes
  7. 9:16Supported TLS libraries and versions
  8. 11:24Default host and no-SNI handling
  9. 13:11Host-based certificate configuration
  10. 14:57Strict mode and connection matching
  11. 15:39Multi-tenancy and security benefits
  12. 16:43Internal implementation details
  13. 20:54Future work and improvements
  14. 21:56Encrypted Client Hello support
  15. 23:00LibreSSL compatibility challenges
  16. 24:04Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.