npgsql icon indicating copy to clipboard operation
npgsql copied to clipboard

SSL Mode values are case sensitive

Open jimoneil opened this issue 4 years ago • 1 comments

The document states "Connection strings have the form keyword1=value; keyword2=value; and are case-insensitive"; however, values of SSL Mode (Require, Prefer, etc.) must be initial caps to be recognized. Attempts to connect with ssl mode=require, for instance, give an error "SSL mode cannot be set" when connecting.

jimoneil avatar Feb 04 '22 21:02 jimoneil

Backported to 6.0.4 via c7514c93345563fcd2f7d5b0ed88d42a123a8a7a

roji avatar Feb 05 '22 13:02 roji