]> granicus.if.org Git - postgresql/commitdiff
Better document libpq sslverify behavior as requiring root.crt.
authorBruce Momjian <bruce@momjian.us>
Sat, 11 Apr 2009 12:27:53 +0000 (12:27 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 11 Apr 2009 12:27:53 +0000 (12:27 +0000)
doc/src/sgml/libpq.sgml

index 1540ed6269356a175e24998912213096b39042ad..463993960f549e61e93a51fcbf3edc65e4a01af7 100644 (file)
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.281 2009/03/31 01:41:27 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.282 2009/04/11 12:27:53 momjian Exp $ -->
 
 <chapter id="libpq">
  <title><application>libpq</application> - C Library</title>
@@ -6131,9 +6131,9 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
 
   <para>
    When the <literal>sslverify</> parameter is set to <literal>cn</> or
-   <literal>cert</>, libpq will verify that the server certificate is
-   trustworthy by checking the certificate chain up to a <acronym>CA</>.
-   For this to work, place the certificate of a trusted <acronym>CA</>
+   <literal>cert</>, libpq requires a trustworthy server certificate by
+   checking the certificate chain up to a <acronym>CA</>.
+   To allow verification, place the certificate of a trusted <acronym>CA</>
    in the file <filename>~/.postgresql/root.crt</> in the user's home directory.
    (On Microsoft Windows the file is named
    <filename>%APPDATA%\postgresql\root.crt</filename>.)