Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 74bcdfb

Browse files
committed
In the docs, better distinguish server from client SSL settings in the documentation.
Ray Stell Also fix some libpq title capitalization problems.
1 parent 2c38cce commit 74bcdfb

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6641,7 +6641,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
66416641
</para>
66426642

66436643
<sect2 id="libq-ssl-certificates">
6644-
<title>Certificate verification</title>
6644+
<title>Client Verification of Server Certificates</title>
66456645

66466646
<para>
66476647
By default, <productname>PostgreSQL</> will not perform any verification of
@@ -6696,7 +6696,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
66966696
</sect2>
66976697

66986698
<sect2 id="libpq-ssl-clientcert">
6699-
<title>Client certificates</title>
6699+
<title>Client Certificates</title>
67006700

67016701
<para>
67026702
If the server requests a trusted client certificate,
@@ -6738,15 +6738,15 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
67386738
</sect2>
67396739

67406740
<sect2 id="libpq-ssl-protection">
6741-
<title>Protection provided in different modes</title>
6741+
<title>Protection Provided in Different Modes</title>
67426742

67436743
<para>
67446744
The different values for the <literal>sslmode</> parameter provide different
67456745
levels of protection. SSL can provide
67466746
protection against three types of attacks:
67476747
</para>
67486748
<table id="libpq-ssl-protect-attacks">
6749-
<title>SSL attacks</title>
6749+
<title>SSL Attacks</title>
67506750
<tgroup cols="2">
67516751
<thead>
67526752
<row>
@@ -6821,7 +6821,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
68216821
</para>
68226822

68236823
<table id="libpq-ssl-sslmode-statements">
6824-
<title>SSL mode descriptions</title>
6824+
<title>SSL Mode Descriptions</title>
68256825
<tgroup cols="4">
68266826
<thead>
68276827
<row>
@@ -6912,7 +6912,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
69126912
</sect2>
69136913

69146914
<sect2 id="libpq-ssl-fileusage">
6915-
<title>SSL File Usage</title>
6915+
<title>SSL Client File Usage</title>
69166916
<table id="libpq-ssl-file-usage">
69176917
<title>Libpq/Client SSL File Usage</title>
69186918
<tgroup cols="3">
@@ -6958,7 +6958,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
69586958
</sect2>
69596959

69606960
<sect2 id="libpq-ssl-initialize">
6961-
<title>SSL library initialization</title>
6961+
<title>SSL Library Initialization</title>
69626962

69636963
<para>
69646964
If your application initializes <literal>libssl</> and/or

doc/src/sgml/runtime.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1770,27 +1770,27 @@ $ <userinput>kill -INT `head -1 /usr/local/pgsql/data/postmaster.pid`</userinput
17701770
<tbody>
17711771

17721772
<row>
1773-
<entry><filename>server.crt</></entry>
1773+
<entry><filename>$PGDATA/server.crt</></entry>
17741774
<entry>server certificate</entry>
17751775
<entry>sent to client to indicate server's identity</entry>
17761776
</row>
17771777

17781778
<row>
1779-
<entry><filename>server.key</></entry>
1779+
<entry><filename>$PGDATA/server.key</></entry>
17801780
<entry>server private key</entry>
17811781
<entry>proves server certificate was sent by the owner; does not indicate
17821782
certificate owner is trustworthy</entry>
17831783
</row>
17841784

17851785
<row>
1786-
<entry><filename>root.crt</></entry>
1786+
<entry><filename>$PGDATA/root.crt</></entry>
17871787
<entry>trusted certificate authorities</entry>
17881788
<entry>checks that client certificate is
17891789
signed by a trusted certificate authority</entry>
17901790
</row>
17911791

17921792
<row>
1793-
<entry><filename>root.crl</></entry>
1793+
<entry><filename>$PGDATA/root.crl</></entry>
17941794
<entry>certificates revoked by certificate authorities</entry>
17951795
<entry>client certificate must not be on this list</entry>
17961796
</row>

0 commit comments

Comments
 (0)