User:Fo

10 editsJoined 15 June 2021

spkifp for remote host

openssl s_client -connect $1 </dev/null | \
       openssl x509 -noout -pubkey | \
       openssl asn1parse -inform pem -noout -out - | \
       openssl dgst -sha256 -binary | \
       openssl enc -base64