Comprobar fingerprint certificado

echo -n | openssl s_client -connect torproject.org:443  | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > certificado.pem
openssl x509 -noout -in certificado.txt -fingerprint -sha256
openssl x509 -noout -in certificado.txt -fingerprint -sha1