From bc81147500188d2ba996b2cef520b1958bd029df Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 24 Dec 2024 23:41:33 +0000 Subject: [PATCH] doc(pg): clarify use of standard TLS with SNI and ALPN --- postgres/README.md | 2 +- psql/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/postgres/README.md b/postgres/README.md index 436f8be..5f1d253 100644 --- a/postgres/README.md +++ b/postgres/README.md @@ -47,7 +47,7 @@ To login: \ # as Postgres admin psql "postgres://postgres:postgres@localhost:5432/postgres" -# as remote user +# as remote user (over standard TLS and SNI, with ALPN set to 'postgresql') psql "postgres://db-xxxx@pg-1.example.com:5432/db-xxxx?sslmode=require&sslnegotiation=direct" ``` diff --git a/psql/README.md b/psql/README.md index 7799f09..9a97b3a 100644 --- a/psql/README.md +++ b/psql/README.md @@ -38,7 +38,7 @@ psql "postgres://db-xxxx:secret123@pg-1.example.com:5432/db-xxxx" ``` For remote / public networks: \ -(with `sslmode` & `sslnegotiation`) +(with `sslmode` & `sslnegotiation` for standard TLS and SNI, with ALPN set to 'postgresql') ```sh psql "postgres://db-xxxx@pg-1.example.com:5432/db-xxxx?sslmode=require&sslnegotiation=direct"