doc: Fix incorrect openssl option
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 1 Feb 2024 08:36:34 +0000 (09:36 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Thu, 1 Feb 2024 08:36:34 +0000 (09:36 +0100)
commit0293f8579c4d2e9219faa06e5cb8c8d31cf06fbc
treee1cb5c1bae753c1a81fe68a2f885fea0ed0311e6
parent235c09efbb306d6263e904e484abdf44866beb5e
doc: Fix incorrect openssl option

The openssl command for displaying the DN of a client certificate was
using --subject and not the single-dash option -subject. While recent
versions of openssl handles double dash options,  earlier does not so
fix by using just -subject  (which is per the openssl documentation).

Backpatch to v14 where this was introduced.

Reported-by: konkove@gmail.com
Discussion: https://postgr.es/m/170672168899.666.10442618407194498217@wrigleys.postgresql.org
Backpatch-through: v14
doc/src/sgml/client-auth.sgml