Skip to content

Commit 9150206

Browse files
committed
document behavior of verify-ca
1 parent 8d56f86 commit 9150206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/pg-connection-string/README.md

+1-1
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)