doc: use openssl -verify_quiet instead of discarding stderr

stderr prints useful information when openssl fails to connect to
the server. Use -verify_quiet to reduce chatter a bit and still
retain error messages.
This commit is contained in:
Simon Ser 2024-07-01 15:13:08 +02:00
parent d5dd194b01
commit 0ced56a155

View file

@ -296,7 +296,7 @@ character.
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
openssl s_client -connect irc.example.org:6697 -verify_quiet </dev/null | openssl x509 -fingerprint -sha512 -noout -in /dev/stdin
```
*-nick* <nickname>