From d85424fe012cb22745c0c950f3ddf300bf2d06c9 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 24 Oct 2023 16:53:14 +0200 Subject: [PATCH] doc: add openssl command to fetch server fingerprint This is not very pretty, but oh well. --- doc/soju.1.scd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/soju.1.scd b/doc/soju.1.scd index c0cd970..1a02564 100644 --- a/doc/soju.1.scd +++ b/doc/soju.1.scd @@ -267,6 +267,13 @@ character. certificates. The fingerprint format is SHA512. An empty string removes any previous fingerprint. + The following command can be used to fetch the certificate fingerprint + of an IRC server: + + ``` + openssl s_client -connect irc.example.org:6697 /dev/null | openssl x509 -fingerprint -sha512 -noout -in /dev/stdin + ``` + *-nick* Connect with the specified nickname. By default, the account's username is used.