Commit 74bcdfbe authored by Bruce Momjian's avatar Bruce Momjian

In the docs, better distinguish server from client SSL settings in the documentation.

Ray Stell

Also fix some libpq title capitalization problems.
parent 2c38cce1
...@@ -6641,7 +6641,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*) ...@@ -6641,7 +6641,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
</para> </para>
<sect2 id="libq-ssl-certificates"> <sect2 id="libq-ssl-certificates">
<title>Certificate verification</title> <title>Client Verification of Server Certificates</title>
<para> <para>
By default, <productname>PostgreSQL</> will not perform any verification of 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=*) ...@@ -6696,7 +6696,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
</sect2> </sect2>
<sect2 id="libpq-ssl-clientcert"> <sect2 id="libpq-ssl-clientcert">
<title>Client certificates</title> <title>Client Certificates</title>
<para> <para>
If the server requests a trusted client certificate, If the server requests a trusted client certificate,
...@@ -6738,7 +6738,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*) ...@@ -6738,7 +6738,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
</sect2> </sect2>
<sect2 id="libpq-ssl-protection"> <sect2 id="libpq-ssl-protection">
<title>Protection provided in different modes</title> <title>Protection Provided in Different Modes</title>
<para> <para>
The different values for the <literal>sslmode</> parameter provide different The different values for the <literal>sslmode</> parameter provide different
...@@ -6746,7 +6746,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*) ...@@ -6746,7 +6746,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
protection against three types of attacks: protection against three types of attacks:
</para> </para>
<table id="libpq-ssl-protect-attacks"> <table id="libpq-ssl-protect-attacks">
<title>SSL attacks</title> <title>SSL Attacks</title>
<tgroup cols="2"> <tgroup cols="2">
<thead> <thead>
<row> <row>
...@@ -6821,7 +6821,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*) ...@@ -6821,7 +6821,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
</para> </para>
<table id="libpq-ssl-sslmode-statements"> <table id="libpq-ssl-sslmode-statements">
<title>SSL mode descriptions</title> <title>SSL Mode Descriptions</title>
<tgroup cols="4"> <tgroup cols="4">
<thead> <thead>
<row> <row>
...@@ -6912,7 +6912,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*) ...@@ -6912,7 +6912,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
</sect2> </sect2>
<sect2 id="libpq-ssl-fileusage"> <sect2 id="libpq-ssl-fileusage">
<title>SSL File Usage</title> <title>SSL Client File Usage</title>
<table id="libpq-ssl-file-usage"> <table id="libpq-ssl-file-usage">
<title>Libpq/Client SSL File Usage</title> <title>Libpq/Client SSL File Usage</title>
<tgroup cols="3"> <tgroup cols="3">
...@@ -6958,7 +6958,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*) ...@@ -6958,7 +6958,7 @@ ldap://ldap.acme.com/cn=dbserver,cn=hosts?pgconnectinfo?base?(objectclass=*)
</sect2> </sect2>
<sect2 id="libpq-ssl-initialize"> <sect2 id="libpq-ssl-initialize">
<title>SSL library initialization</title> <title>SSL Library Initialization</title>
<para> <para>
If your application initializes <literal>libssl</> and/or If your application initializes <literal>libssl</> and/or
......
...@@ -1770,27 +1770,27 @@ $ <userinput>kill -INT `head -1 /usr/local/pgsql/data/postmaster.pid`</userinput ...@@ -1770,27 +1770,27 @@ $ <userinput>kill -INT `head -1 /usr/local/pgsql/data/postmaster.pid`</userinput
<tbody> <tbody>
<row> <row>
<entry><filename>server.crt</></entry> <entry><filename>$PGDATA/server.crt</></entry>
<entry>server certificate</entry> <entry>server certificate</entry>
<entry>sent to client to indicate server's identity</entry> <entry>sent to client to indicate server's identity</entry>
</row> </row>
<row> <row>
<entry><filename>server.key</></entry> <entry><filename>$PGDATA/server.key</></entry>
<entry>server private key</entry> <entry>server private key</entry>
<entry>proves server certificate was sent by the owner; does not indicate <entry>proves server certificate was sent by the owner; does not indicate
certificate owner is trustworthy</entry> certificate owner is trustworthy</entry>
</row> </row>
<row> <row>
<entry><filename>root.crt</></entry> <entry><filename>$PGDATA/root.crt</></entry>
<entry>trusted certificate authorities</entry> <entry>trusted certificate authorities</entry>
<entry>checks that client certificate is <entry>checks that client certificate is
signed by a trusted certificate authority</entry> signed by a trusted certificate authority</entry>
</row> </row>
<row> <row>
<entry><filename>root.crl</></entry> <entry><filename>$PGDATA/root.crl</></entry>
<entry>certificates revoked by certificate authorities</entry> <entry>certificates revoked by certificate authorities</entry>
<entry>client certificate must not be on this list</entry> <entry>client certificate must not be on this list</entry>
</row> </row>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment