Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0293f85

Browse files
doc: Fix incorrect openssl option
The openssl command for displaying the DN of a client certificate wasusing --subject and not the single-dash option -subject. While recentversions of openssl handles double dash options, earlier does not sofix by using just -subject (which is per the openssl documentation).Backpatch to v14 where this was introduced.Reported-by: konkove@gmail.comDiscussion:https://postgr.es/m/170672168899.666.10442618407194498217@wrigleys.postgresql.orgBackpatch-through: v14
1 parent235c09e commit0293f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎doc/src/sgml/client-auth.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ include_dir <replaceable>directory</replaceable>
695695
format. To see the <literal>DN</literal> of a client certificate
696696
in this format, do
697697
<programlisting>
698-
openssl x509 -in myclient.crt -noout --subject -nameopt RFC2253 | sed "s/^subject=//"
698+
openssl x509 -in myclient.crt -noout -subject -nameopt RFC2253 | sed "s/^subject=//"
699699
</programlisting>
700700
Care needs to be taken when using this option, especially when using
701701
regular expression matching against the <literal>DN</literal>.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp