https://bugzilla.wikimedia.org/show_bug.cgi?id=46189

--- Comment #3 from T. Gries <m...@tgries.de> ---
SHA-1 example for OPENSSL (tested)

echo -n | openssl s_client -connect www.google.org:443 2>/dev/null | sed -n
"/BEGIN CERTIFICATE/,/END CERTIFICATE/p" | openssl x509 -fingerprint -sha1
-noout

results in output:

"SHA1 Fingerprint=15:23:B4:8F:71:6F:E7:88:55:17:58:19:F3:D4:C0:59:8A:07:73:44"


see
http://serverfault.com/questions/139728/how-to-download-ssl-certificate-from-a-website

Example for GNUTLS (untested):

The GNUTLS client tool, gnutls-cli, can also make this easy:

gnutls-cli --print-cert www.example.com < /dev/null > www.example.com.certs

The program is designed to provide an interactive client to the site, so you
need to give it empty input to end the interactive session.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to