Skip to content

Commit 386d977

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 21a86b0 commit 386d977

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
@@ -1192,7 +1192,7 @@ include_dir 'conf.d'
11921192
</term>
11931193
<listitem>
11941194
<para>
1195-
Specifies the name of the file containing the SSL server certificate
1195+
Specifies the name of the file containing the SSL client certificate
11961196
revocation list (CRL).
11971197
Relative paths are relative to the data directory.
11981198
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
@@ -1600,7 +1600,7 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
16001600
<term><literal>sslcrl</literal></term>
16011601
<listitem>
16021602
<para>
1603-
This parameter specifies the file name of the SSL certificate
1603+
This parameter specifies the file name of the SSL server certificate
16041604
revocation list (CRL). Certificates listed in this file, if it
16051605
exists, will be rejected while attempting to authenticate the
16061606
server's certificate. The default is

0 commit comments

Comments
 (0)