doc: add openssl command to fetch server fingerprint

This is not very pretty, but oh well.
This commit is contained in:
Simon Ser 2023-10-24 16:53:14 +02:00
parent 467f8cd187
commit d85424fe01
1 changed files with 7 additions and 0 deletions

View File

@ -267,6 +267,13 @@ character.
certificates. The fingerprint format is SHA512. An empty string certificates. The fingerprint format is SHA512. An empty string
removes any previous fingerprint. 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 2>/dev/null | openssl x509 -fingerprint -sha512 -noout -in /dev/stdin
```
*-nick* <nickname> *-nick* <nickname>
Connect with the specified nickname. By default, the account's username Connect with the specified nickname. By default, the account's username
is used. is used.