mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Merge pull request #603 from dequis/pining-for-the-freenodes
NEWS: Avoid explicitly mentioning freenode in the pinning examples
This commit is contained in:
commit
f97d5f2648
8
NEWS
8
NEWS
@ -39,16 +39,16 @@ v1.0.0 2017-01-03 The Irssi team <staff@irssi.org>
|
||||
values like this: Start by downloading the certificate from a given IRC
|
||||
server:
|
||||
|
||||
$ openssl s_client -connect chat.freenode.net:6697 < /dev/null 2>/dev/null | \
|
||||
openssl x509 > freenode.cert
|
||||
$ openssl s_client -connect irc.example.net:6697 < /dev/null 2>/dev/null | \
|
||||
openssl x509 > example.cert
|
||||
|
||||
Find the value for -tls_pinned_cert:
|
||||
|
||||
$ openssl x509 -in freenode.cert -fingerprint -sha256 -noout
|
||||
$ openssl x509 -in example.cert -fingerprint -sha256 -noout
|
||||
|
||||
Find the value for -tls_pinned_pubkey:
|
||||
|
||||
$ openssl x509 -in freenode.cert -pubkey -noout | \
|
||||
$ openssl x509 -in example.cert -pubkey -noout | \
|
||||
openssl pkey -pubin -outform der | \
|
||||
openssl dgst -sha256 -c | \
|
||||
tr a-z A-Z
|
||||
|
Loading…
Reference in New Issue
Block a user