]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Doc: Fix misleading wording of CRL parameters
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 3 Dec 2021 13:15:50 +0000 (14:15 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Fri, 3 Dec 2021 13:15:50 +0000 (14:15 +0100)
ssl_crl_file and ssl_crl_dir are both used to for client certificate
revocation, not server certificates.  The description for the params
could be easily misread to mean the opposite however,  as evidenced
by the bugreport leading to this fix.  Similarly, expand sslcrl and
and sslcrldir to explicitly mention server certificates. While there
also mention sslcrldir where previously only sslcrl was discussed.

Backpatch down to v10, with the CRL dir fixes down to 14 where they
were introduced.

Author: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Discussion: https://postgr.es/m/20211202.135441.590555657708629486.horikyota.ntt@gmail.com
Discussion: https://postgr.es/m/CABWY_HCBUCjY1EJHrEGePGEaSZ5b29apgTohCyygtsqe_ySYng@mail.gmail.com
Backpatch-through: 10

doc/src/sgml/config.sgml
doc/src/sgml/libpq.sgml

index fd015cf6baa423d2f62973040510bf28a2d5c7f1..d886012fe52a2c36f7250870e6327f1de072e124 100644 (file)
@@ -1192,7 +1192,7 @@ include_dir 'conf.d'
       </term>
       <listitem>
        <para>
-        Specifies the name of the file containing the SSL server certificate
+        Specifies the name of the file containing the SSL client certificate
         revocation list (CRL).
         Relative paths are relative to the data directory.
         This parameter can only be set in the <filename>postgresql.conf</filename>
index 0156bd0f0ce1e393dabeb353c8d22dd4f5632ca9..67204d7c3c3ad4304e17d5bb259311c305aa7ad7 100644 (file)
@@ -1600,7 +1600,7 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
       <term><literal>sslcrl</literal></term>
       <listitem>
        <para>
-        This parameter specifies the file name of the SSL certificate
+        This parameter specifies the file name of the SSL server certificate
         revocation list (CRL).  Certificates listed in this file, if it
         exists, will be rejected while attempting to authenticate the
         server's certificate.  The default is