Skip to content

Commit 7b0643c

Browse files
Doc: Fix misleading wording of CRL parameters
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
1 parent 82d1e13 commit 7b0643c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/src/sgml/config.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1143,7 +1143,7 @@ include_dir 'conf.d'
11431143
</term>
11441144
<listitem>
11451145
<para>
1146-
Specifies the name of the file containing the SSL server certificate
1146+
Specifies the name of the file containing the SSL client certificate
11471147
revocation list (CRL).
11481148
Relative paths are relative to the data directory.
11491149
This parameter can only be set in the <filename>postgresql.conf</filename>

doc/src/sgml/libpq.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,7 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
15191519
<term><literal>sslcrl</literal></term>
15201520
<listitem>
15211521
<para>
1522-
This parameter specifies the file name of the SSL certificate
1522+
This parameter specifies the file name of the SSL server certificate
15231523
revocation list (CRL). Certificates listed in this file, if it
15241524
exists, will be rejected while attempting to authenticate the
15251525
server's certificate. The default is

0 commit comments

Comments
 (0)