Skip to content

Commit e2ebc90

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 f89015b commit e2ebc90

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
@@ -1189,7 +1189,7 @@ include_dir 'conf.d'
11891189
</term>
11901190
<listitem>
11911191
<para>
1192-
Specifies the name of the file containing the SSL server certificate
1192+
Specifies the name of the file containing the SSL client certificate
11931193
revocation list (CRL).
11941194
Relative paths are relative to the data directory.
11951195
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
@@ -1729,7 +1729,7 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname
17291729
<term><literal>sslcrl</literal></term>
17301730
<listitem>
17311731
<para>
1732-
This parameter specifies the file name of the SSL certificate
1732+
This parameter specifies the file name of the SSL server certificate
17331733
revocation list (CRL). Certificates listed in this file, if it
17341734
exists, will be rejected while attempting to authenticate the
17351735
server's certificate. The default is

0 commit comments

Comments
 (0)