Skip to content

Commit 1164593

Browse files
committed
document behavior of verify-ca for libpq compat
1 parent 8d56f86 commit 1164593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pg-connection-string/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Query parameters follow a `?` character, including the following special query p
9292
* `sslmode=disable` - sets `ssl` to false
9393
* `sslmode=no-verify`, `sslmode=prefer` - sets `ssl` to `{ rejectUnauthorized: false }`
9494
* `sslmode=require` - sets `ssl` to `{ rejectUnauthorized: false }` unless `sslrootcert` is specified, in which case it behaves like `verify-ca`
95-
* `sslmode=verify-ca` - sets `ssl` to `{ checkServerIdentity: no-op }` (verify CA, but not server identity)
95+
* `sslmode=verify-ca` - sets `ssl` to `{ checkServerIdentity: no-op }` (verify CA, but not server identity). This verifies the presented certificate against the effective CA, i.e. the one specified in sslrootcert or the system CA if sslrootcert was not specified.
9696
* `sslmode=verify-full` - sets `ssl` to `{}` (verify CA and server identity)
9797
* `sslmode=<sslmode>` when `sslcompat` is not set
9898
* `sslmode=disable` - sets `ssl` to false

0 commit comments

Comments
 (0)