|
1 |
| -<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.281 2009/03/31 01:41:27 tgl Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.282 2009/04/11 12:27:53 momjian Exp $ --> |
2 | 2 |
|
3 | 3 | <chapter id="libpq">
|
4 | 4 | <title><application>libpq</application> - C Library</title>
|
@@ -6131,9 +6131,9 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
|
6131 | 6131 |
|
6132 | 6132 | <para>
|
6133 | 6133 | When the <literal>sslverify</> parameter is set to <literal>cn</> or
|
6134 |
| - <literal>cert</>, libpqwill verify that theserver certificateis |
6135 |
| -trustworthy bychecking the certificate chain up to a <acronym>CA</>. |
6136 |
| -For this to work, place the certificate of a trusted <acronym>CA</> |
| 6134 | + <literal>cert</>, libpqrequires a trustworthyserver certificateby |
| 6135 | + checking the certificate chain up to a <acronym>CA</>. |
| 6136 | +To allow verification, place the certificate of a trusted <acronym>CA</> |
6137 | 6137 | in the file <filename>~/.postgresql/root.crt</> in the user's home directory.
|
6138 | 6138 | (On Microsoft Windows the file is named
|
6139 | 6139 | <filename>%APPDATA%\postgresql\root.crt</filename>.)
|
|