Skip to content

Commit 60a6dbb

Browse files
committed
Add two documentation tables to outline SSL file usage for client and server.
1 parent 08c37fd commit 60a6dbb

File tree

2 files changed

+87
-3
lines changed

2 files changed

+87
-3
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.249 2007/12/25 04:00:43 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.250 2007/12/25 06:15:34 momjian Exp $ -->
22

33
<chapter id="libpq">
44
<title><application>libpq</application> - C Library</title>
@@ -5200,6 +5200,48 @@ defaultNoticeProcessor(void *arg, const char *message)
52005200
application.
52015201
</para>
52025202

5203+
<table id="libpq-ssl-file-usage">
5204+
<title>SSL Client File Usage</title>
5205+
<tgroup cols="3">
5206+
<thead>
5207+
<row>
5208+
<entry>File</entry>
5209+
<entry>Contents</entry>
5210+
<entry>Effect</entry>
5211+
</row>
5212+
</thead>
5213+
5214+
<tbody>
5215+
5216+
<row>
5217+
<entry><filename>~/.postgresql/postgresql.crt</></entry>
5218+
<entry>client certificate</entry>
5219+
<entry>requested by server</entry>
5220+
</row>
5221+
5222+
<row>
5223+
<entry><filename>~/.postgresql/postgresql.key</></entry>
5224+
<entry>client private key</entry>
5225+
<entry>used to authenticate client certificate</entry>
5226+
</row>
5227+
5228+
<row>
5229+
<entry><filename>~/.postgresql/root.crt</></entry>
5230+
<entry>trusted certificate authorities</entry>
5231+
<entry>requests server certificate; checks certificate is
5232+
signed by a trusted certificate authority</entry>
5233+
</row>
5234+
5235+
<row>
5236+
<entry><filename>~/.postgresql/root.crl</></entry>
5237+
<entry>certificates revoked by certificate authorities</entry>
5238+
<entry>server certificate must not be on this list</entry>
5239+
</row>
5240+
5241+
</tbody>
5242+
</tgroup>
5243+
</table>
5244+
52035245
</sect1>
52045246

52055247

doc/src/sgml/runtime.sgml

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.395 2007/12/25 04:00:44 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.396 2007/12/25 06:15:34 momjian Exp $ -->
22

33
<chapter Id="runtime">
44
<title>Operating System Environment</title>
@@ -1641,7 +1641,49 @@ $ <userinput>kill -INT `head -1 /usr/local/pgsql/data/postmaster.pid`</userinput
16411641
the server for changes in them to take effect.
16421642
</para>
16431643

1644-
<sect2 id="ssl-certificate">
1644+
<table id="ssl-file-usage">
1645+
<title>SSL Server File Usage</title>
1646+
<tgroup cols="3">
1647+
<thead>
1648+
<row>
1649+
<entry>File</entry>
1650+
<entry>Contents</entry>
1651+
<entry>Effect</entry>
1652+
</row>
1653+
</thead>
1654+
1655+
<tbody>
1656+
1657+
<row>
1658+
<entry><filename>server.crt</></entry>
1659+
<entry>server certificate</entry>
1660+
<entry>requested by client</entry>
1661+
</row>
1662+
1663+
<row>
1664+
<entry><filename>server.key</></entry>
1665+
<entry>server private key</entry>
1666+
<entry>used to authenticate server certificate</entry>
1667+
</row>
1668+
1669+
<row>
1670+
<entry><filename>root.crt</></entry>
1671+
<entry>trusted certificate authorities</entry>
1672+
<entry>requests client certificate; checks certificate is
1673+
signed by a trusted certificate authority</entry>
1674+
</row>
1675+
1676+
<row>
1677+
<entry><filename>root.crl</></entry>
1678+
<entry>certificates revoked by certificate authorities</entry>
1679+
<entry>client certificate must not be on this list</entry>
1680+
</row>
1681+
1682+
</tbody>
1683+
</tgroup>
1684+
</table>
1685+
1686+
<sect2 id="ssl-certificate-creation">
16451687
<title>Creating a Self-Signed Certificate</title>
16461688

16471689
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy