Direct SSL negotiation
Starting the TLS handshake right away without the SSLRequest round trip, with ALPN (sslnegotiation=direct).
Versions
- PostgreSQL 17 · shipped · new · moderate · 4 commits · +1.2k / -330 lines
- PostgreSQL 16 · worked-on · new · moderate
Threads
- [PATCH] libpq: remove unused PGconn.ssl_handshake_started field
- Offsets of `struct Port` are no longer constant
- Direct SSL connection and ALPN loose ends
- Comments about TLS (no SSLRequest) and ALPN
- Direct SSL connection with ALPN and HBA rules
- Experiments with Postgres and SSL
- pgsql: Add tests for libpq gssencmode and sslmode options
- Proposal: sslmode=tls-only