npgsql
npgsql copied to clipboard
SSL Mode values are case sensitive
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.
Backported to 6.0.4 via c7514c93345563fcd2f7d5b0ed88d42a123a8a7a