-
+
When the sslverify> parameter is set to cn> or
- cert>, libpq will verify that the server certificate is
-
trustworthy by checking the certificate chain up to a
CA>.
-
For this to work, place the certificate of a trusted
CA>
+ cert>, libpq requires a trustworthy server certificate by
+ checking the certificate chain up to a
CA>.
+
To allow verification, place the certificate of a trusted
CA>
in the file ~/.postgresql/root.crt> in the user's home directory.
(On Microsoft Windows the file is named
%APPDATA%\postgresql\root.crt.)